A compiled version of a StackTalk interpreter
- Zig 86.9%
- JavaScript 12.1%
- Vim Script 1%
| editors | ||
| src | ||
| .gitignore | ||
| build.zig | ||
| README.md | ||
| RESEARCH.md | ||
| RESEARCH.pstk | ||
| stvm.js | ||
| TRACKER.pstk | ||
Native StackTalk interpreter
Requirements
This project uses zig 0.15.2 for the time being, upgrades to 0.16.x and 0.17.x are planned, but I'd like to get the site generator and basic bindings to Raylib done first.
Getting a basic CLI, -very- feature incomplete
zig build
gives you an stk executable in zig-out/bin
If you want to install it
zig build -p folder_with_bin_on_path
Plans
-
stkSTacKtalk cli, used for running one-off scripts, or as a calculator -
Implement
stk replimproperly -
Implement
stk runcommand to run files -
Offer
stk e[val]to force expression eval -
skit, Stacktalk dev KIT, a StackTalk project management tool. Will start out very basic.- Allow it to run commands defined in
skriptfiles, similar toproject.stkfiles in JS StackTalk
- Allow it to run commands defined in
-
skit-powered SSG, based on existing JS StackTalk SSG.
- Test
Directory .lsr - Build
Directory .[ "." walk ] - [.] Port page-gen DSL from JSTK
lib/pages/web.stk - Port
buildtask to skit - Optimize
%word compilation so that unbroken constants get written in one go, rather than as a gaggle of small writes. - Implement basic subprocessing calls, to make
skit publishreasonable
- Test
-
Implement
stk replproperly (including something akin toreadline) -
Move
fpc.zigsomewhere else