|
Maybe if the compiler is very simple. But I have said: """
How make a REPL, a debugger, how implement pattern matching, type checking, if a interpreter can be fast enough, if possible to avoid to do a whole VM for it, etc...
""" REPL, debugger, no-VM and other stuff look easier with interpreters than compilers. However, I will be happy to be wrong: I wanna the simplest way to get where I want to. Currently: Working with F#, wanna REPL, debugger, AGDTs, pattern-matching, go-like concurrency, iterators, semi-functional... Where I hit a big block is how do interop with a interpreter (ie: Call .NET methods) and that look easier with a compiler... |
Pattern matching must be compiled anyway, even if the rest is interpreted, same for the static typing.