How to make a .Net or JVM language?

后端 未结 5 1510
自闭症患者
自闭症患者 2021-01-31 21:41

I am seeing all these new languages for .NET and JVM. How does one begin to make one?

I can\'t find any good documentation on JVM or MSIL specifications.

5条回答
  •  忘掉有多难
    2021-01-31 22:33

    For .NET you can use the DLR's expression trees or even compile to an existing high-level langauge like C# or Java and then compile that. Some high-level non-VM languages (liek Haskell and Eiffel) compile to C. If you want to compile to MSIL or JVM bytecode, you can use Mono.Cecil or BCEL to make that easier to do.

提交回复
热议问题