Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

Triton is a C++ styled language that compiles directly to Lua. It is currently being written for the Minecraft mod OpenComputers, as it contains a default computer architecture/language of Lua.

License

ThePuzzlemaker/TritonLang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Triton

NOTE

TritonLang is currently not being worked on. This is for various reasons, inclduing:

  • C++ is not only very complex but is just... uh... not good
  • I have no clue about making programming languages so I'd rather start making one in a language I'm more familiar with.
  • I'm already working on Calypso. I might eventually write a Lua backend for it. I'm not sure though. Thanks for your understanding.

Overview

Triton is a C++ styled language that compiles directly to Lua. It is currently being written for the Minecraft mod, OpenComputers as it contains a default computer architecture/language of Lua.

Dependencies [Included]

Tieske/Penlight - A set of Lua libraries [This project will specifically use its lexer library]

mpeterv/argparse - A command line parser for Lua inspired by Python's argparse

Hello, world! [Currently pseudocode]

#include <io>

int main() {
    io::info("Hello, world!");
    return 0;
}

Advantages

  • Headers/easily include libraries
  • Compiles to Lua for OpenComputers
  • Static and dynamically compile libraries into programs
  • C++-style syntax and easier OOP

About

Triton is a C++ styled language that compiles directly to Lua. It is currently being written for the Minecraft mod OpenComputers, as it contains a default computer architecture/language of Lua.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages