Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rapidlua/luajit.me
LuaJIT compiler explorer
https://github.com/rapidlua/luajit.me
compiler-explorer lua luajit luajit-internals
Last synced: about 1 month ago
JSON representation
LuaJIT compiler explorer
- Host: GitHub
- URL: https://github.com/rapidlua/luajit.me
- Owner: rapidlua
- License: agpl-3.0
- Created: 2016-09-01T09:19:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-10-08T21:59:14.000Z (over 2 years ago)
- Last Synced: 2024-08-10T14:08:41.489Z (5 months ago)
- Topics: compiler-explorer, lua, luajit, luajit-internals
- Language: JavaScript
- Homepage: https://luajit.me
- Size: 1.37 MB
- Stars: 147
- Watchers: 12
- Forks: 8
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# luajit.me
A power tool to peek into LuaJIT internals, primarily for educational purposesTry live at https://luajit.me
### Features
1. execute arbitrary Lua code and see what happens
1. several snippets showcasing interesting quirks of LuaJIT are readily available
1. upload and study `jit.dump` output **[TBD]**
1. 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
1. browse generated JIT-compiled traces
* visually examine trace graph
* highligh source code lines and/or bytecodes participating in a trace
1. examine trace properties, including general info, IR and the assembly
1. *Presentation Mode* — hit **P** to reduce visual clutter; suitable for presenting after a moderate zoom### Gallery
![alt tag](https://raw.githubusercontent.com/mejedi/luajit-web-inspector/master/ljwebi1.png)
![alt tag](https://raw.githubusercontent.com/mejedi/luajit-web-inspector/master/ljwebi2.png)