The project is abandoned, I'll get to make my own programming language someday, but I'll consider this as a failed attempt.
BRidge is a procedural and object-oriented statically typed language with the ability to run both natively and in its own runtime environment.
To build all of the BRidge toolchain, simply run the following command:
$ python3 build.py --release
- bridge - The main tool for everything about the language; It's a compiler, assembler, disassembler and interpreter, all in one
Not yet :(
'Hello World' program in BRidge assembly is there and can be compiled and executed with these commands: To execute bytecode, run:
$ bridge -Ai examples/hello_world.vbrb
To execute native executable, run:
$ bridge -Ax examples/hello_world.vbrb
$ examples/hello_world
'Hello World' program in BRidge is there and can be compiled and executed using the following commands: To execute in the BRidge runtime, run:
$ bridge -Ai examples/hello_world.br
P.S.: the -Ai
flag makes the compiler behave like an interpreter
To compile the program to a native executable, run:
$ bridge -Ax examples/hello_world.br
$ examples/hello_world