Skip to content

Bython is a small functional programming language implementet with the help of peglib and llvm.

License

Notifications You must be signed in to change notification settings

manuelliebchen/bython_2

Repository files navigation

Bython 2

Bython is a small functional programming language implementet with the help of peglib and llvm. This is based on bython.

Installation

Dependencies: clang llvm doxygen

git clone [email protected]:manuelliebchen/bython_2.git
cd bython_2
git submodule update --init --remote --recursive
mkdir build
cd build
export C=/usr/bin/clang; export CXX=/usr/bin/clang++
cmake ..
make

Usage

When in build directory.

bin/bython ../examples/hello_world.by 1> hello_world.ll
clang -o hello_world hello_world.ll -Llibc.so
export LD_LIBRARY_PATH=lib
./hello_world

Todo

  • list functions
  • records

About

Bython is a small functional programming language implementet with the help of peglib and llvm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published