mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-08 20:32:56 +03:00
Base: Add missing js(1) command line options
This commit is contained in:
parent
de69f5dbf4
commit
c7d2df45b9
Notes:
sideshowbarker
2024-07-18 00:43:34 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/c7d2df45b9d Pull-request: https://github.com/SerenityOS/serenity/pull/11049 Reviewed-by: https://github.com/linusg ✅
@ -22,6 +22,10 @@ Run `help()` in REPL mode to see its available built-in functions.
|
||||
## Options
|
||||
|
||||
* `-A`, `--dump-ast`: Dump the Abstract Syntax Tree after parsing the program.
|
||||
* `-d`, `--dump-bytecode`: Dump the bytecode
|
||||
* `-b`, `--run-bytecode`: Run the bytecode
|
||||
* `-p`, `--optimize-bytecode`: Optimize the bytecode
|
||||
* `-m`, `--as-module`: Treat as module
|
||||
* `-l`, `--print-last-result`: Print the result of the last statement executed.
|
||||
* `-g`, `--gc-on-every-allocation`: Run garbage collection on every allocation.
|
||||
* `-s`, `--no-syntax-highlight`: Disable live syntax highlighting in the REPL
|
||||
|
Loading…
Reference in New Issue
Block a user