Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.
/ bridge Public archive

Semi-compiled statically-typed procedural programming language with its own virtual machine

License

Notifications You must be signed in to change notification settings

its-the-shrimp/bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning

The project is abandoned, I'll get to make my own programming language someday, but I'll consider this as a failed attempt.

BRidge

BRidge is a procedural and object-oriented statically typed language with the ability to run both natively and in its own runtime environment.

Getting started

To build all of the BRidge toolchain, simply run the following command:

$ python3 build.py --release

Tools

  • bridge - The main tool for everything about the language; It's a compiler, assembler, disassembler and interpreter, all in one

Documentation

Not yet :(

Examples

VBRB example

'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

BRidge example

'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

About

Semi-compiled statically-typed procedural programming language with its own virtual machine

Topics

Resources

License

Stars

Watchers

Forks