Commit Graph

716 Commits

Author SHA1 Message Date
Scott Richmond
c0e88021f2 Remove unused clojure/string require 2022-05-24 17:02:09 -04:00
Scott Richmond
1079bb8028 Remove unused (and incorrect) 2-arity of token fn 2022-05-24 17:01:44 -04:00
Scott Richmond
b1284f3338 Interpret splats in sets 2022-05-20 19:01:13 -04:00
Scott Richmond
6e4fd22fd4 Pull #()s out into fns 2022-05-20 18:54:14 -04:00
Scott Richmond
355b9f9949 Remove println crud 2022-05-20 18:50:43 -04:00
Scott Richmond
f0fe8005e9 Interpret splats in hashmaps 2022-05-20 18:46:40 -04:00
Scott Richmond
f70aa0f4ce Parse splats in hashmaps *correctly* 2022-05-20 18:46:24 -04:00
Scott Richmond
ea5d9fa948 Parse splats in hashmaps and sets 2022-05-20 18:14:22 -04:00
Scott Richmond
7390461f2b Interpret list splats 2022-05-20 17:59:39 -04:00
Scott Richmond
9d645e3b4b Add list splats 2022-05-20 17:35:16 -04:00
Scott Richmond
bb3d145e5d Fiddle repl source 2022-05-20 17:35:02 -04:00
Scott Richmond
4d7b12eb34 Add struct patterns 2022-05-19 20:03:39 -04:00
Scott Richmond
34da4dd6fe Actually add hashmap patterns. Whoops. 2022-05-19 20:00:16 -04:00
Scott Richmond
bc2f6f8317 REPL cruft 2022-05-19 19:59:40 -04:00
Scott Richmond
bd9a408e07 Add hash patterns; add hashmap data tag & update show 2022-05-19 19:59:20 -04:00
Scott Richmond
9984a6c8ec Add basic list matching 2022-05-19 19:27:32 -04:00
Scott Richmond
a899ee776d Parse basic list, hash, struct patterns. 2022-05-19 19:14:25 -04:00
Scott Richmond
ad778f7104 Play around 2022-05-19 18:55:38 -04:00
Scott Richmond
35cbe352a8 Update reserved words list & impl 2022-05-19 18:55:27 -04:00
Scott Richmond
55c1edbb15 Add features 2022-05-19 18:55:00 -04:00
Scott Richmond
0e66dd9b0b Update readme, fix github url, add fib 2022-05-19 18:45:41 -04:00
Scott Richmond
9dd963e5b2 Interpret panic! not as fn but as rw. 2022-05-19 18:12:55 -04:00
Scott Richmond
4aeaa9e889 Fix parse-list :token typo 2022-05-19 18:11:31 -04:00
Scott Richmond
bd09dfa459 Remove panic! from prelude 2022-05-19 18:01:20 -04:00
Scott Richmond
4966271aa3 Parse panic! 2022-05-19 18:00:31 -04:00
Scott Richmond
1415461876 Fix panic! keyword 2022-05-19 18:00:18 -04:00
Scott Richmond
a36920e97e Add panic! reserved word 2022-05-19 17:54:10 -04:00
Scott Richmond
62a0fa2429 Add additional asts to errors. 2022-05-19 17:53:22 -04:00
Scott Richmond
8d2993637e Missed an ast add; fix it 2022-05-19 17:16:12 -04:00
Scott Richmond
cfe790b9c5 Add asts to thrown errors. 2022-05-19 17:14:20 -04:00
Scott Richmond
1fb41d8b71 Add tokens (and thus locations) to all AST nodes 2022-05-19 16:58:38 -04:00
Scott Richmond
ee4438bf1e Testing, small typo fix 2022-05-19 16:58:13 -04:00
Scott Richmond
959927f7ce Play with circular refs around closures 2022-05-19 16:17:30 -04:00
Scott Richmond
f419c390af Update reserved words list & impl 2022-05-19 16:16:55 -04:00
Scott Richmond
0939304518 Add TODO, re: closures 2022-05-18 20:45:14 -04:00
Scott Richmond
5a72125d1f Testing/playing 2022-05-18 20:30:27 -04:00
Scott Richmond
3b5e91c1bb Fix closure bug. 2022-05-18 20:23:43 -04:00
Scott Richmond
a5914076b0 Interpret loop/recur 2022-05-18 19:35:41 -04:00
Scott Richmond
b62fa6d074 Fix off-by-paren loop tup bug 2022-05-18 19:35:30 -04:00
Scott Richmond
0b7687024f Comment out testing 2022-05-18 18:33:32 -04:00
Scott Richmond
362e76c323 Parse loop/recur, and reindent all the things 2022-05-18 18:32:57 -04:00
Scott Richmond
e7eccca000 Update reserved words list & impl 2022-05-18 18:32:34 -04:00
Scott Richmond
5c07f43713 pprint refs 2022-05-18 18:32:15 -04:00
Scott Richmond
9df37cca4d Remove circular dependency 2022-05-18 18:31:35 -04:00
Scott Richmond
fb89508bef Play with base ref forms 2022-05-18 18:31:11 -04:00
Scott Richmond
9e25f24b3f Move testing to sandbox dir 2022-05-18 18:28:44 -04:00
Scott Richmond
8cbc516a66 Native ref fns 2022-05-17 19:13:13 -04:00
Scott Richmond
b1022ad832 Interpret refs 2022-05-17 19:13:00 -04:00
Scott Richmond
b0212b7e41 Parse refs 2022-05-17 18:34:07 -04:00
Scott Richmond
4c7ed5a8ef Update reserved words list 2022-05-17 17:30:33 -04:00