Commit Graph

21 Commits

Author SHA1 Message Date
Emi Simpson 64b8d18fe8
Clean up the output a little bit 2022-04-26 20:04:10 -04:00
Emi Simpson 780ada7034
Gen IR for types, incl. functional types 2022-04-26 12:40:42 -04:00
Emi Simpson 1895364870
Fix defining constants 2022-04-25 13:05:59 -04:00
Emi Simpson 2134e96498
Read from stdin 2022-04-25 12:35:15 -04:00
Emi Simpson d298170022
Got tail-call optimized evaluation working 2022-04-25 12:23:10 -04:00
Emi Simpson 7766a8ae30
Try to get a little boost using tail call recursion 2022-04-25 10:10:37 -04:00
Emi Simpson 9c7ef81044
Remove some debugging code 2022-04-24 23:15:41 -04:00
Emi Simpson d9385ed1c3
Fix up evaluation baybeeee!!!!!
also write the primes program or w/e
2022-04-24 23:03:42 -04:00
Emi Simpson ac62dc4e2d
Added a universal pattern match 2022-04-24 21:56:40 -04:00
Emi Simpson b4faad9214
Added pattern matching and conditionals 2022-04-24 21:48:18 -04:00
Emi Simpson 0456a1375f
Add some really hasty evaluation code 2022-04-24 21:18:52 -04:00
Emi Simpson 9ddbf38ecb
IR generation is (almost) done!!! 2022-04-23 21:52:30 -04:00
Emi Simpson 250d40dab7
Update the lexer to match changes to the grammar 2022-04-22 11:49:28 -04:00
Emi Simpson 756bb883f0
Simplify the grammar a little bit (sike!) 2022-04-22 10:31:07 -04:00
Emi Simpson afbb45caac
Added parsing!! 2022-04-06 09:23:46 -04:00
Emi Simpson 92ad2bc118
Added an EBNF grammar 2022-03-10 21:04:31 -05:00
Emi Simpson 74d19864f2
Rework the example a little bit, add some tokens to match 2022-03-10 20:28:29 -05:00
Emi Simpson 89c5a6985b
Add comments (to the language) 2022-03-10 20:27:59 -05:00
Emi Simpson efbe872f1e
Added lexing! 2022-03-10 13:06:25 -05:00
Emi Simpson 2d6f5511b1
Init rust repo 2022-03-09 20:16:37 -05:00
Emi Simpson 3d1a7a6c6d
Added a sample language file 2022-03-09 20:16:15 -05:00