Conversation

Replying to
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
Maybe it is a silly idea… I guess the Prolog feels a bit closer what I would write in a language reference, but is something I can also run. I'd also like to avoid tying a bootstrap implementation to an language that is already hard to bootstrap itself?
1
1
Show replies