Skip to content

ibara/4q

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

4q

4q, pronounced fork, is a compiler for a Forth-like programming language.

4q compiles Forth words into QBE intermediate language.

4q acts as both a compiler and compiler driver, enabling binaries to be produced with a single command-line invocation.

4q is written in D and can use any D compiler to build. The configure script will autodetect the first D compiler it finds in order: LDC, GDC, and DMD.

Building

4q should be able to be built on any supported platform that can run a D compiler.

$ ./configure
$ make
$ sudo make install

Supported platforms

  • macOS on arm64 and x86_64
  • Linux (Debian and Ubuntu, others welcome) on aarch64 and x86_64
  • FreeBSD on amd64

LICENSE

ISC license. See LICENSE for more details.

About

Forth to QBE compiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors