Skip to content

A compiled, object-oriented programming language written in Java and ANTLR.

License

Notifications You must be signed in to change notification settings

ScopeLang/Scope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scope Logo

Scope is still under development and is not ready for use. It will be object-oriented programming langauge that compiles into FASM and then into an executable.

Warning

Scope currently only runs on Linux. Use WSL2 for Windows. Other platforms are planned.

Building

These dependencies are required to build and run the compiler:

  • java
  • maven
  • fasm

After these are installed, run:

# Clone...
$ git clone https://github.com/ScopeLang/Scope.git
# Build...
$ mvn package

You can then use the ./scope bash script to build and run a Scope project in the ./env/ directory like so:

$ ./scope run -d helloWorld

You can also just directly use the ./target/scopelang-1.0-jar-with-dependencies.jar file like so:

$ java -jar target/scopelang-1.0-jar-with-dependencies.jar run -d env/helloWorld

If you want to install scope onto your system, do the following:

$ sudo ./install

Keep in mind that this creates a batch script at /bin/scope which serves as a direct link to ./target/scopelang-1.0-jar-with-dependencies.jar. You do not need to re-install every time you build.

Why Java? ☕

ANTLR is in Java so Scope is in Java.