Commit Graph

386 Commits

Author SHA1 Message Date
Stanisław Barzowski
660c09fe39 Fix bug messing up newlines
When the lexer backed up, no matter from what character it went
to the previous line.
2017-08-07 19:44:55 -04:00
Dave Cunningham
137523a545 Merge pull request #17 from sbarzowski/bindbug
Fix local bind body not being desugared
2017-08-07 15:06:55 -04:00
Stanisław Barzowski
fd77883a3f Fix local bind body not being desugared
In Go `for i, val := range arr` creates a *copy*
so it was changing some temporary value.
2017-08-04 15:03:42 -04:00
Dave Cunningham
f81573cb4e Merge pull request #15 from sbarzowski/strings
Allow adding strings
2017-08-01 19:54:12 -04:00
Stanisław Barzowski
badeb833bb Tests + default + better panic message 2017-07-31 11:49:20 -04:00
Stanisław Barzowski
964c4bc0df Allow adding strings 2017-07-28 17:23:27 -04:00
Dave Cunningham
70da0b879d Merge pull request #12 from sparkprime/json_pass_through
Pass through JSON
2016-05-02 00:33:13 -04:00
Dave Cunningham
c5225a1b3a address jbeda's comments 2016-05-02 00:20:08 -04:00
Dave Cunningham
09c7c8c7c0 Pass through JSON 2016-04-04 02:16:03 -04:00
Dave Cunningham
c3e4c805f2 Merge pull request #10 from jbeda/fix-lint
Fix up lint errors.
2016-03-16 13:44:00 -04:00
Joe Beda
0eedf437b1 Fix up lint errors.
Also:
* Made all types used in errors public.
* Made interpreter receiver a pointer.  This will reduce GC load for deep stacks.
2016-03-14 12:50:42 +00:00
Joe Beda
bf2c1df9e5 Merge pull request #9 from sparkprime/skeleton
First end-to-end test (add numbers)
2016-03-14 12:32:35 +00:00
Dave Cunningham
db9caa7a2d Change British English to American English 2016-03-08 01:19:57 -05:00
Dave Cunningham
563bbe12f4 First end-to-end test (addition of numbers) 2016-03-08 01:17:44 -05:00
Dave Cunningham
c0060affd2 Merge pull request #8 from jbeda/parser
Finish writing unit tests for parser
2016-03-07 22:04:50 -05:00
Joe Beda
d8dc42a151 Finish unit tests for parser. 2016-03-07 17:19:27 -08:00
Joe Beda
964a6e854e Remove unneeded astKind type. 2016-03-07 15:36:35 -08:00
Joe Beda
566a2cf4f2 Happy case tests for parser.
No testing of error cases or location reporting yet.
2016-03-07 15:26:16 -08:00
Joe Beda
2b23986b9a Merge pull request #7 from jbeda/parser
Finish up blocking out the parser.
2016-03-01 17:12:58 -08:00
Joe Beda
142b77c41f Finish up blocking out the parser.
There is the most minimal of tests and so this probably doesn't work well yet.  Adding tests is the next job.
2016-03-01 17:08:35 -08:00
Joe Beda
3b5fc97c33 Merge pull request #6 from jbeda/fix-lint
Fix lint issues and add package comment
2016-02-26 04:59:33 -08:00
Joe Beda
e70cc51c68 Fix lint issues and add package comment 2016-02-25 17:09:44 -08:00
Joe Beda
04c51f7034 Merge pull request #5 from sparkprime/lexer_changes
Port lexer changes from google/jsonnet 0c96da7 to 27ddf2c Fix #1
2016-02-25 17:05:16 -08:00
Dave Cunningham
c3f136d987 Port lexer changes from google/jsonnet 0c96da7 to 27ddf2c Fix #1 2016-02-22 22:25:41 -05:00
Dave Cunningham
2282fdf13e Merge pull request #3 from jbeda/readme-fix
Fix up repo paths in the README.
2016-02-21 11:49:09 -05:00
Dave Cunningham
1cbeb25e84 Merge pull request #2 from jbeda/copyright-notice
Add copyright notice to all files.
2016-02-21 00:35:09 -05:00
Joe Beda
a469f9615b Fix up repo paths in the README. 2016-02-20 18:34:59 -08:00
Joe Beda
6a29151819 Add copyright notice to all files.
With this commit, I grant a Copyright License in this project submitted up until now to Google under the terms of the Google CLA.  See https://cla.developers.google.com/about/google-individual.
2016-02-20 18:31:21 -08:00
Joe Beda
642ec89b13 Merge pull request #1 from google/fix_build
Fix build errors, implement parseCommaList
2016-02-20 18:17:49 -08:00
Dave Cunningham
2f91602896 Fix build errors, implement parseCommaList 2016-02-19 22:25:18 -05:00
Dave Cunningham
4a8db91129 Add CONTRIBUTING, add newline to end of other files 2016-02-19 17:36:19 -05:00
Joe Beda
7b6ac5f2d7 Check in work in progress on parser. Doesn't build right now. 2016-02-16 10:46:31 -08:00
Joe Beda
dc07929f9a First cut at AST definition 2016-01-22 15:37:34 -08:00
Joe Beda
96c648f646 Add travis widget 2016-01-21 13:47:24 -08:00
Joe Beda
cdbee43fa4 Improve test coverage, add README badges. 2016-01-21 13:40:20 -08:00
Joe Beda
a04a6cf2e3 Initial commit with lexer 2016-01-21 13:11:48 -08:00