Skip to content

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

License

Notifications You must be signed in to change notification settings

harishtpj/Mathsel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔢 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