Refined, minimalist, modern, beautiful
- Written in C++
- Minimalist grammar, 14 keywords, 40 bytecode
- Frame and Stack structure interpreter
- Bytecode virtual machine
For documentation and project architecuture,
visit the official website https://drift-lang.fun/
Basic grammatical format of drift, please check the instance code awesome.ft
It's a toy language, Have Fun!!
- Switch CC field in Makefile and specify your g++ compiler path
- The development version is 10.2.0
make
make install
export PATH=$PWD:$PATH
drift # REPL MODE
drift <ft file> # FILE MODE
drift -d # REPL AND DEBUG MODE
drift <ft file> -d # FILE AND DEBUG MODE
drift -b # REPL AND DIS BYTECODE
drift <ft file> -b # FILE AND DIS BYTECODE
make clean
- Lack of FFI support
- Syntax highlighting support for Virtual Studio Code,
tool
directory - Standard library and bug testing, etc
Copyright (c) 2021 bingxio(丙杺,黄菁). All rights reserved.
GNU General Public License, more to see file: LICENSE
https://www.gnu.org/licenses
THE DRIFT PROGRAMMING LANGUAGE
https://github.com/bingxio/drift
https://www.drift-lang.fun/