Commit Graph

535 Commits

Author SHA1 Message Date
Scott Richmond
a3c60e0196 Hashmap -> dict in scanner 2022-05-26 18:54:51 -04:00
Scott Richmond
64c8f30964 Hashmap -> dict in parser 2022-05-26 18:49:52 -04:00
Scott Richmond
3292c0676c Hashmap -> dict 2022-05-26 18:44:40 -04:00
Scott Richmond
a5b1763324 Add import error handling 2022-05-26 18:40:26 -04:00
Scott Richmond
8f1701dabb Add minimal error handling 2022-05-26 18:39:37 -04:00
Scott Richmond
7beca7e0f6 Fix line number reporting 2022-05-26 18:12:23 -04:00
Scott Richmond
c5a7b5ad46 Add a little comment 2022-05-26 18:06:37 -04:00
Scott Richmond
4a850f837d Typofix 2022-05-26 18:06:05 -04:00
Scott Richmond
916c38a0f4 Update readme w/ release 2022-05-25 12:58:05 -04:00
Scott Richmond
54fb9de263 Eclipse->GPL 2022-05-24 23:47:27 -04:00
Scott Richmond
3361f08aa6 Add build tooling 2022-05-24 23:18:41 -04:00
Scott Richmond
907d4e2b31 Use the little file loader 2022-05-24 18:52:45 -04:00
Scott Richmond
d8d1bf0858 Make a little file loader 2022-05-24 18:52:32 -04:00
Scott Richmond
96ef8f098f Remove binary 2022-05-24 17:33:16 -04:00
Scott Richmond
0887c0d830 Comment out repl stuff 2022-05-24 17:32:17 -04:00
Scott Richmond
3798dba9dc Comment out repl stuff 2022-05-24 17:31:52 -04:00
Scott Richmond
6cced0dd8a Tidy up 2022-05-24 17:30:38 -04:00
Scott Richmond
372103a3ee Add or and and 2022-05-24 17:29:06 -04:00
Scott Richmond
1ca434b308 Remove old show cruft 2022-05-24 17:02:50 -04:00
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