https://github.com/lispyclouds/quantum
(discontinued) The Virtual Machine and the Runtime for Trost
https://github.com/lispyclouds/quantum
Last synced: 3 months ago
JSON representation
(discontinued) The Virtual Machine and the Runtime for Trost
- Host: GitHub
- URL: https://github.com/lispyclouds/quantum
- Owner: lispyclouds
- License: bsd-3-clause
- Created: 2016-02-05T10:11:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-03T16:29:57.000Z (about 9 years ago)
- Last Synced: 2025-01-28T14:48:17.772Z (5 months ago)
- Language: C
- Homepage:
- Size: 1.01 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quantum
[](https://travis-ci.org/trost-lang/quantum)
## Building and running on OSX (more coming soon...)
- ``` brew install qt5 autoconf automake libtool makeself flex bison```
- In the **libgc** directory
- ``` autoreconf -vif ```
- ``` automake --add-missing ```
- ``` ./configure --prefix=$(dirname $PWD)/gc_compiled --enable-threads=posix --enable-thread-local-alloc --enable-parallel-mark --enable-cplusplus ```
- ``` make -j $(sysctl -n hw.ncpu) ```
- ``` make install ```
- In the **compiler** directory
- ``` flex -8 -o trost.lex.cpp trost.l ```
- ``` bison -d -o trost.tab.cpp trost.y ```
- find where qmake is. Usually its in /usr/local/opt/qt5/bin/
- In the **quantum** directory
- ``` qmake -o Makefile trost.pro -recursive -spec macx-clang ```
- ``` make -j $(sysctl -n hw.ncpu) ```
- ``` ./trost ```
- ``` ./trost -j ``` (Sample files in jsons dir)
- Run tests with ``` python test_quantum.py ``` (Python 2.7+ needed)## Developing
- Write awesome code
- run ``` make -j $(sysctl -n hw.ncpu) ```
- repeat## Installing built binary (for any UNIX system)
- Use the quantum_installer_*.bz2.sh file
- Install using: ``` sudo sh trost_installer_*.bz2.sh ```