Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.14 KB

README.md

File metadata and controls

31 lines (26 loc) · 1.14 KB

🔢 Mathsel

made-with-java java-version

A Math Statement Based Language which compiles its code to C Language

ℹ About Mathsel

Mathsel is a C Transpiler(Compiler) written in Java which Compiles to C Language. This has a very simple syntax which can also be used as C alternative to Very small programs.

📃 Requirements

  • Java JDK
  • tcc compiler(click here for link)

💻 Running the compiler

Use command java -jar Mathsel.jar to run compiler

usage: mathsel [options]
 -h,--help        Shows Help Message
 -r,--run <arg>   Run Program
 -v,--version     Shows Version

A Sample Hello, World Program

Save the following file as hello.me

println "Hello, World!".!

Run java -jar Mathsel.jar -r hello.me to get the executable for program. Run the executable to get the output of the program. You'll also get a hello.c file for inspection.

👨‍💻 Created By

  • M.V.Harish Kumar