~/talk

I built my own JVM language. Here's why and how

Talkat J-Fall 2022 · on Thursday, 2022-11-03· [compilers-and-language-design, java]
links:none on file
slides:none on file

Built a JVM language called MOBA that compiles human‑sentence syntax into a single class with a public static main, using ANTLR parse tree to parse sentences and ASM bytecode generator to emit class files. Language supports variables, conditionals, two loop styles, program arguments, and three types (integer, decimal/double, string) with runtime coercion so arithmetic and concatenation work. ASM surprises: everything compiles into method frames so types, operand stack slots and label‑based jumps matter, and ASM can compute frames and max stack for you.

AI-written summary · about

  1. 0:00Motivation and project goals
  2. 2:20Language design and syntax
  3. 6:40Grammar definition with Antlr
  4. 13:34Implementing visitor patterns
  5. 17:36Bytecode generation with ASM
  6. 21:52JVM internals and stack state
  7. 27:29Advanced compilation logic
  8. 34:59Error handling and testing
  9. 37:52Live demonstrations
  10. 40:01Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.