Commit graph

10 commits

Author SHA1 Message Date
1199646e29 [fine] File name in error messages
Going to need to normalize that name though, because right now it
really *really* sucks to have a big \\?\ kinda name. Probably
normalize it relative to the base directory.
2024-02-15 06:36:14 -08:00
a21f18da6e [fine] export, dump source map, lookup fix 2024-02-15 06:29:56 -08:00
a3ae4339cf [fine] Many more import-related shuffles 2024-02-15 06:12:18 -08:00
994268abb6 [fine] Oh no a runtime and module loading and stuff
Lots of test work to use the new mechanism. I'm not sure I like it.
2024-02-12 22:49:34 -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
866830b485 [fine] A wild VM appears!
Untested though
2024-01-14 09:28:05 -08:00
d8db65af55 [fine] Re-work compiler main, checking is everything 2024-01-11 06:32:23 -08:00
6d2fd446ee [fine] Garbage Compile 2024-01-08 18:43:47 -08:00
c0f40aa512 [fine] Type checking bones 2024-01-05 14:59:48 -08:00
8a867de7e7 [fine] The name is official 2024-01-02 16:50:21 -08:00
Renamed from oden-script/src/lib.rs (Browse further)