QnnOkabayashi / curse-lang

1 stars 1 forks source link

Slightly less primitive multifile programs #19

Closed QnnOkabayashi closed 1 year ago

QnnOkabayashi commented 1 year ago

We don't have a module system yet, but our current solution is terrible because we don't have dynamic_import guards.

As a band-aid fix, we should make it so that all programs must be made of files in the same directory, and then build deduplication into the interpreter to assure that the same file, e.g. std.curse, is concatenated into the AST more than once.