Commit Graph

141 Commits

Author SHA1 Message Date
Scott Richmond
3357248b3c Add do and import reserved words 2022-02-21 14:54:14 -05:00
Scott Richmond
4edfbcb04d Improve parse-set; do not swallow errors on unterminated collections 2022-02-21 14:03:58 -05:00
Scott Richmond
d23a561eda Improve parse-list (based on parse-tuple) 2022-02-21 13:56:46 -05:00
Scott Richmond
61b25ca22d Clean up parse-tuple 2022-02-21 13:46:41 -05:00
Scott Richmond
e6b204a54a Better error handling, in script & tuple 2022-02-21 13:43:30 -05:00
Scott Richmond
9414109312 Finally get error handling right? 2022-02-21 13:16:22 -05:00
Scott Richmond
a4cecc3d01 Make some progress on good parser errors 2022-02-20 19:33:24 -05:00
Scott Richmond
3fde2cb52b Atoms keep tokens. Add panic mode, begin better errors. 2022-02-20 18:40:16 -05:00
Scott Richmond
2751b7428f Whitespace should not return errors 2022-02-20 18:39:18 -05:00
Scott Richmond
23e2e95e77 Better errors? WIP 2022-02-19 14:34:07 -05:00
Scott Richmond
40367d7e57 Update number lexing comments 2022-02-19 14:20:09 -05:00
Scott Richmond
5d78d5f823 Tonksy-fmt 2022-02-18 17:49:02 -05:00
Scott Richmond
d6a547bdcb Odds & ends 2022-02-18 17:25:36 -05:00
Scott Richmond
a71db0e640 Delete prints; next -> peek; remove loop in parse-expr 2022-02-15 22:48:36 -05:00
Scott Richmond
96b30ece05 if exprs; add expect, accept, accept-many helpers 2022-02-15 19:45:39 -05:00
Scott Richmond
a35da1498e Remove expect fns; declare parse-word. 2022-02-15 18:27:22 -05:00
Scott Richmond
531c85054c Stub of let works. 2022-02-15 13:24:09 -05:00
Scott Richmond
6b61a10349 Stub of let 2022-02-15 13:17:01 -05:00
Scott Richmond
84663d0952 Add = (as replacement for <- now that we have let) 2022-02-15 13:16:46 -05:00
Scott Richmond
25da37d093 Start, but do not finish, work on let expressions 2022-02-14 20:09:10 -05:00
Scott Richmond
3fa280402c Enforce non-empty blocks 2022-02-14 18:29:29 -05:00
Scott Richmond
dd47244b78 Fix bug in script & block 2022-02-14 18:13:56 -05:00
Scott Richmond
05f55e6a84 Working synthetic parsing; simplify 2022-02-14 18:05:29 -05:00
Scott Richmond
98b147f5b8 Factor out keyword parsing, parse bare words 2022-02-14 17:32:29 -05:00
Scott Richmond
40db886843 Keep working on parser, take notes, stuff & stuff 2022-02-14 16:47:08 -05:00
Scott Richmond
e2f8b0cb6c Individuate reserved words in tokens 2022-02-14 16:46:42 -05:00
Scott Richmond
3806683c99 Start work on parsing. (Really?!) 2022-02-08 19:43:08 -05:00
Scott Richmond
32390a4847 Delete repl cruft 2022-02-08 19:42:51 -05:00
Scott Richmond
d56ea970b6 Remove unused from-keyword function 2022-02-08 19:42:31 -05:00
Scott Richmond
c3426624c9 A mostly-complete scanner! 2022-02-06 18:20:55 -05:00
Scott Richmond
bbe20d4af1 Putter around in scanner 2022-02-06 12:36:03 -05:00
Scott Richmond
2eb7960cc9 Start work on words, add double-colon, fix terminators 2022-02-05 19:24:39 -05:00
Scott Richmond
eb5f5233b6 Scan strings 2022-01-22 18:07:04 -05:00
Scott Richmond
1c60dce605 Add backslash 2022-01-15 14:40:46 -05:00
Scott Richmond
d8273946f5 Update reserved words 2022-01-08 17:36:48 -05:00
Scott Richmond
1ca1e4df25 Fix a bunch of things, hack some 2022-01-08 17:19:56 -05:00
Scott Richmond
5777458f2d Add nrepl deps 2022-01-07 13:36:33 -05:00
Scott Richmond
6b00dfe1f5 Fiddle with the scanner. 2021-12-28 18:24:42 -05:00
Scott Richmond
425c021fa1 leinify 2021-10-30 14:51:35 -04:00
Scott Richmond
d6052bf2b8 cljs project setup 2021-10-21 12:54:57 -04:00
Scott Richmond
a5d9cf38fb Initial commit 2021-10-21 12:47:28 -04:00