Skip to content
/ aforth Public

FORTH for Linux x86-64, written in assembly

Notifications You must be signed in to change notification settings

M3Henry/aforth

Repository files navigation

aforth

A FORTH written in assembly language for Linux x64

Compiles with GNU Assembler

Written by Henry Wilson

The process can be run by typing 'make interactive'

Try entering some of the following:

10 20 + .

: STARS 0 DO 42 EMIT LOOP ; 6 STARS

: TRIANGLE 1+ 1 DO I> STARS CR LOOP ; 4 TRIANGLE

: TRIANGLE DUP IF DUP STARS CR 1- RECURSE ELSE DROP THEN ; 5 TRIANGLE

FORGET TRIANGLE 5 TRIANGLE

alt text

About

FORTH for Linux x86-64, written in assembly

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published