Implementation of Unlambda, an esoteric programming language.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
CismonX 14feba7b2f
bugfix
2 years ago
man fix Makefile for Darwin 2 years ago
src bugfix 2 years ago
tests longer timeout for tests 2 years ago
.gitattributes clear .gitattributes 2 years ago
.gitignore integrating Codecov 2 years ago
.travis.yml compatible with llvm-cov 2 years ago
LICENSE initial commit 2 years ago
Makefile.am initial commit 2 years ago
README.md integrating Codecov 2 years ago
configure.ac compatible with macos base64 impl in tests 2 years ago

README.md

u6a

Travis CI Codecov LICENSE

Implementation of Unlambda, an esoteric programming language.

Description

The u6a project provides a bytecode compiler and a runtime system for the Unlambda programming language.

Ideas behind this implementation can be found here.

Getting Started

Building:

# (If not already) Install the required build tools.
sudo apt install build-essential automake
# (If you want to run tests) Install DejaGnu.
sudo apt install dejagnu
# Generate configuration script.
autoreconf --install
# Execute configuration script with desired options.
./configure --prefix=$HOME
# Compile source code and generate executables.
make
# (Optional) Run tests.
make check
# (Optional) Install executables and man pages.
make install

Usage:

# Compile an Unlambda source file into bytecode.
u6ac -o foo.unl.bc foo.unl
# Execute the bytecode file.
u6a foo.unl.bc

See u6ac(1) and u6a(1) man pages for details.

Future Plans

  • Interactive debugger: u6adb
  • More compile-time optimizations
  • More test cases
  • LLVM backend for u6ac