rapidlua / luajit.me

LuaJIT compiler explorer

Home Page:https://luajit.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

luajit.me

A power tool to peek into LuaJIT internals, primarily for educational purposes

Try live at https://luajit.me

Features

  1. execute arbitrary Lua code and see what happens
  2. several snippets showcasing interesting quirks of LuaJIT are readily available
  3. upload and study jit.dump output [TBD]
  4. explore bytecode behind the source code in several modes
    • Lua — bytecodes are hidden, revealed on click on a source line
    • Bytecode — only bytecode is displayed
    • Mixed — bytecodes interleaved with Lua source code
  5. browse generated JIT-compiled traces
    • visually examine trace graph
    • highligh source code lines and/or bytecodes participating in a trace
  6. examine trace properties, including general info, IR and the assembly
  7. Presentation Mode — hit P to reduce visual clutter; suitable for presenting after a moderate zoom

Gallery

alt tag

alt tag

About

LuaJIT compiler explorer

https://luajit.me

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 75.9%Language:CSS 8.8%Language:Lua 8.0%Language:Dockerfile 4.4%Language:HTML 1.6%Language:Shell 1.3%