• Stars
    star
    148
  • Rank 249,983 (Top 5 %)
  • Language
    JavaScript
  • License
    GNU Affero Genera...
  • Created about 8 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

LuaJIT compiler explorer

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