Conversation

Pondering the possibility of using Prolog for bootstrapping a type theory + programming language implementation… …though I'll probably reconsider once I start hitting all the type and mode errors. 😅
2
8
One motivation is implementing my language in a way that is closer to the inference rules I might use for a specification. The other is that it seems easier to implement a toy Prolog implementation (if you avoid some fancy features) than a toy version of GHC, OCaml, or Rust.
2
3
Current thoughts: - Confused about how to use DCG to make a lexer. - Already wishing for Extended DCG for working with multiple accumulators the same time. - Feeling the lack of type checking/mode checking. - Seems like you can't nest modules like: `core:semantics:eval/3`.
2
1