L4OS / yaforth

Yet Another Forth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yet Another Forth

Here is some view from C++ to Forth and his name is the yaforth.

make
make check

This is Forth language source code.
It builds the yaforth executable for Windows or Linux.
Source code written in C++.

yaforth has two functions - interpretation and compilation.
yaforth has two modes - interactive and batch.

Type ./yaforth and press enter to go interactive mode.
Type bye and press enter to exit.
Type ./yaforth tests/hello.frt to see hello-world test. Type ./yaforth -a tests/hello.frt to generate test/hello.asm.

Command line options

Option Description
-a compile Forth to Assembler
-ansi enable ANSI colors
-no-stdin close stdin, return EOF on getc()

Would you give feedback or ask question?

Here is good place for communication - https://github.com/L4OS/yaforth/discussions

About

Yet Another Forth


Languages

Language:C++ 90.1%Language:C 4.0%Language:Forth 3.7%Language:Makefile 2.1%Language:Batchfile 0.1%