Commit graph

19 commits

Author SHA1 Message Date
a21f18da6e [fine] export, dump source map, lookup fix 2024-02-15 06:29:56 -08:00
692af9f93d [fine] Bring back some test coverage 2024-02-11 09:39:49 -08:00
2dbdbb3957 [fine] Lifetime garbage, big refactor
So it turns out that I can't hold `&str` in token because it makes it
impossible to encapsulate a source file in the larger context- self
referential structure problems again. Everything gets rebuilt so that
the source can be passed through. While we're at it, more things
become Rc<> because, man..... life it too short.

Semantics in particular has become a giant hub of the module state: we
can basically just hold an Rc<Semantics> and have everything we could
possibly want to know about a source file, computed lazily if
necessary.
2024-02-11 09:31:51 -08:00
65ec2d4cca [fine] Implement the wildcard pattern 2024-02-04 19:36:47 -08:00
deed9d9a45 [fine] Starting on pattern matching, make patterns explicit 2024-02-04 07:47:16 -08:00
ba5b37f5ff [fine] Parse is expression, partially 2024-02-02 06:32:03 -08:00
0d48bfb113 [fine] starting to work on methods 2024-01-22 06:04:13 -08:00
0ee89bf26b [fine] WIP: Classes 2024-01-20 08:56:53 -08:00
f20f5a5e03 [fine] Assignments!
And new error capabilities!
2024-01-19 19:08:17 -08:00
9ee8d39963 [fine] Starting on lists, god help me 2024-01-17 15:58:48 -08:00
d8988cb2cf [fine] test compilation, start removing print 2024-01-11 06:33:08 -08:00
618e0028d3 [fine] Type testing with probes and reporting
I'm proud of the test harness here actually. Also fix a bug in
checking!
2024-01-05 17:10:15 -08:00
7abb8eafc2 [fine] Parent pointers in trees 2024-01-05 11:10:38 -08:00
1f6d7ec131 [fine] Dump CSTs and an example zoo 2024-01-04 13:25:17 -08:00
4fe3137027 [fine] A concrete syntax tree parser
Where in the world am I going with this?
2024-01-03 16:12:17 -08:00
5968fb1f6a [fine] Use -> Import
I don't know what I'm doing
2024-01-03 06:35:18 -08:00
d2d144a5ec [fine] Tokens is not Iterator
It was not pulling its weight
2024-01-03 06:18:26 -08:00
93cc30ba9b [fine] Use keyword 2024-01-03 05:45:12 -08:00
8a867de7e7 [fine] The name is official 2024-01-02 16:50:21 -08:00
Renamed from oden-script/src/tokens.rs (Browse further)