3 ms·
Does anyone know of a good starting point for someone who wants to build a language targeting the JVM? (The JVM spec isn't an easy read)
by piinbinary 11y ago
Does anyone know of a good starting point for someone who wants to build a language targeting the JVM? (The JVM spec isn't an easy read)
- cottonseed 11y agoTry ASM: http://asm.ow2.org/ http://asm.ow2.org/ It is lightweight, well-documented and easy to use. It has an IntelliJ plugin that wills how you the sequence of API calls you'd need to make to create a given compiled Java class. I still recommend reading the spec. You'll need to understand the JVM execution model and the meaning of the byte codes to successfully target it.
- jerven 11y agoThe truffle tutorial is the easiest way to get started. Will give you very good performance.