Conlang/compiler
John 3cda3d83d9 typeck: Replace unsafe static mut with tree interning,
I used tree interning here, because the interner already contains the necessary locks to make it Sync, and I was lazy. Be my guest if you want to do something else.

The computational overhead of interning the ASTs here is negligible, since this is all CLI code anyway.
2025-01-16 21:16:46 -06:00
..
cl-ast conlang: Elide lifetimes (fixes clippy lint) 2025-01-16 20:57:33 -06:00
cl-interpret conlang: Elide lifetimes (fixes clippy lint) 2025-01-16 20:57:33 -06:00
cl-lexer conlang: Elide lifetimes (fixes clippy lint) 2025-01-16 20:57:33 -06:00
cl-parser cl-ast: Add float support 2024-09-19 13:20:19 -05:00
cl-repl conlang: Elide lifetimes (fixes clippy lint) 2025-01-16 20:57:33 -06:00
cl-structures cl-structures: add to_ref associated function on Interned type, for non-borrowing conversion 2025-01-16 21:01:28 -06:00
cl-token cl-token: Flatten TokenKind into a single enum (wow!) 2024-07-30 16:47:09 -05:00
cl-typeck typeck: Replace unsafe static mut with tree interning, 2025-01-16 21:16:46 -06:00