Commit graph

8 commits

Author SHA1 Message Date
Devon Tingley
ba8bf3b5ed Switch lexer to use anyhow for errors 2023-03-11 09:23:47 -05:00
Devon Tingley
124218cfd8 Chapter 3
No idea if garbage collection is needed since it kinda mimics Rust's
lifetime system but /shrugs/ probably not what the monkey spec
recommends? idk, there aren't any pointers so I think it'd be fine (for
now, at least...)
2023-03-10 09:02:48 -05:00
Devon Tingley
0321e9ba89 Chapter 2 (finished) 2023-03-06 18:05:40 -05:00
Devon Tingley
4ad37f9b71 Ch 2 (up to function literals) 2023-03-06 17:44:33 -05:00
Devon Tingley
218c98dc8a (none) Change to using looping for the parser
Tried using pure recursion before, but Pratt Parsers are much more
ergonomic to write using looping instead.  There should be no change in
the output of the parser.
2023-03-06 17:12:09 -05:00
Devon Tingley
f075d236fa Ch2 (up to if expressions) 2023-03-04 07:55:44 -05:00
Devon Tingley
0fd41b6890 Ch 1.5 (finished chapter 1) 2023-03-02 08:50:42 -05:00
Devon Tingley
9ffab45bd6 Ch 1.3 2023-03-01 23:10:54 -05:00