HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
zig-wasm
zorth
Zig2025–2025
zig-wasm / zorth

zorth

FORTH in Zig

2Distinct people
2Mentions
0Explicit recommenders
20GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

FORTH in Zig

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2025-10-02 13:57:58 UTC to 2025-10-02 18:08:16 UTC.

012025-10-02 13:00:00 UTC to 2025-10-02 14:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsOct 2, 13:002025-10-02 14:00:00 UTC to 2025-10-02 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-10-02 15:00:00 UTC to 2025-10-02 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsOct 2, 15:002025-10-02 16:00:00 UTC to 2025-10-02 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-10-02 17:00:00 UTC to 2025-10-02 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-10-02 18:00:00 UTC to 2025-10-02 19:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsOct 2, 18:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Oct 2, 13:002025-10-02 13:00:00 UTC2025-10-02 14:00:00 UTC101
Oct 2, 14:002025-10-02 14:00:00 UTC2025-10-02 15:00:00 UTC000
Oct 2, 15:002025-10-02 15:00:00 UTC2025-10-02 16:00:00 UTC000
Oct 2, 16:002025-10-02 16:00:00 UTC2025-10-02 17:00:00 UTC000
Oct 2, 17:002025-10-02 17:00:00 UTC2025-10-02 18:00:00 UTC000
Oct 2, 18:002025-10-02 18:00:00 UTC2025-10-02 19:00:00 UTC101

What Hacker News says

2 sources
Nice! The whole implementation seems to be a bit over 1k lines. https://github.com/zig-wasm/zorth/blob/main/src/zorth.zig The tests give some examples of what to try like: 65 EMIT const tests = .{ .{ "65 EMIT ", "A" }, .{ "777 65 EMIT ", "A" }, .{ "32 DUP + 1+ EMIT ", "A" }, .{ "16 DUP 2DUP + + + 1+ EMIT ", "A" }, .{ "8 DUP * 1+ EMIT ", "A" }, .{ "CHAR A EMIT ", "A" }, .{ ": SLOW WORD FIND >CFA EXECUTE ; 65 SLOW EMIT ", "A" }, .{ fmt.comptimePrint("{d} DSP@ 8 TELL ", .{s}), "SYSCALL0" }, .{ fmt.comptimePrint("{d} DSP@ HERE @ 8 CMOVE HERE @ 8 TELL ", .{s}), "SYSCALL0" }, .{ fmt.comptimePrint("{d} DSP@ 2 NUMBER DROP EMIT ", .{mem.readInt(u16, "65", .little)}), "A" }, .{ "64 >R RSP@ 1 TELL RDROP ", "@" }, .{ "64 DSP@ RSP@ SWAP C@C! RSP@ 1 TE
Read the rest
LL ", "@" }, .{ "64 >R 1 RSP@ +! RSP@ 1 TELL ", "A" }, .{ \\: <BUILDS WORD CREATE DODOES , 0 , ; \\: DOES> R> LATEST @ >DFA ! ; \\: CONST <BUILDS , DOES> @ ; \\ \\65 CONST FOO \\FOO EMIT , "A", }, .{ preamble ++ "VERSION . ", "47 " }, .{ preamble ++ "CR ", "\n" }, .{ preamble ++ "0 1 > . 1 0 > . ", "0 -1 " }, .{ preamble ++ "0 1 >= . 0 0 >= . ", "0 -1 " }, .{ preamble ++ "0 0<> . 1 0<> . ", "0 -1 " }, .{ preamble ++ "1 0<= . 0 0<= . ", "0 -1 " }, .{ preamble ++ "-1 0>= . 0 0>= . ", "0 -1 " }, .{ preamble ++ "0 0 OR . 0 -1 OR . ", "0 -1 " }, .{ preamble ++ "-1 -1 XOR . 0 -1 XOR . ", "0 -1 " }, .{ preamble ++ "-1 INVERT . 0 INVERT . ", "0 -1 " }, .{ preamble ++ "3 4 5 .S ", "5 4 3 " }, .{ preamble ++ "1 2 3 4 2SWAP .S ", "2 1 4 3 " }, .{ preamble ++ "F_IMMED F_HIDDEN .S ", "32 128 " }, .{ preamble ++ ": CFA@ WORD FIND >CFA @ ; CFA@ >DFA DOCOL = . ", "-1 " }, .{ preamble ++ "3 4 5 WITHIN . ", "0 " }, .{ preamble ++ fmt.comptimePrint(": GETPPID {d} SYSCALL0 ; GETPPID . ", .{@intFromEnum(syscalls.X64.getppid)}), p }, .{ preamble ++ "ARGC . ", "2 " }, .{ preamble ++ "ENVIRON @ DUP STRLEN TELL ", mem.sliceTo(os.environ[0], 0) }, .{ preamble ++ "SEE >DFA ", ": >DFA >CFA 8+ EXIT ;\n" }, .{ preamble ++ "SEE HIDE ", ": HIDE WORD FIND HIDDEN ;\n" }, .{ preamble ++ "SEE QUIT ", ": QUIT R0 RSP! INTERPRET BRANCH ( -16 ) ;\n" }, .{ preamble ++ \\: FOO THROW ; \\: TEST-EXCEPTIONS 25 ['] FOO CATCH ?DUP IF ." FOO threw exception: " . CR DROP THEN ; \\TEST-EXCEPTIONS , "FOO threw exception: 25 \n", },
In Forth in Zig and WebAssembly

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.