Skip to content

L4OS/yaforth

 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • C++ 90.1%
  • C 4.0%
  • Forth 3.7%
  • Makefile 2.1%
  • Batchfile 0.1%