Wellang is in an extremely early state with pending syntax changes and the development of the compiler. MAKE SURE you keep wellang up to date in these early stages.
This is a project by Tristan Wellman. Wellang is a high level compiled assembly language; you will have your low level assembly programming but with some features from high level languages. Wellang compiles directly to NASM. See below for compilation and simple documentation.
Email: [email protected]
Wellang discord server: https://discord.gg/K4ufunGxJv
$ git clone https://github.com/wellang/well.git
$ cd well
$ make && make install-unix
or
$ make base install-unix
$ git clone https://github.com/wellang/well.git
$ cd well
$ gmake base install-unix
or
$ gmake && gmake install-unix
$ git clone https://github.com/wellang/well.git
$ cd well
$ make base install-osx
or
$ make && make install-osx
$ sudo apt-get install libsqlite3-dev sqlite3
$ git clone https://github.com/wellang/well.git
$ cd well
$ make base-arm install-unix
~include <std.well>
~var:main {
string~ text = 'Hello World!'
}
~func:main {
move~ 1, rax
move~ 1, rdi
move~ text, rsi
move~ text.len, rdx
syscall
return~ 0
}
to compile your well program you can run wesm
in your terminal:
╰─λ wesm helloworld.well -o helloworld
14:21:22 INFO src/asm_interp.c:736: Compile time:: 0.011261s, 11.261000ms
╰─λ ./helloworld
Hello World!
make vim