Skip to content

converts simplang code to cpp rules is you cannot add string with int just as in cpp and i am giving a test syntax

Notifications You must be signed in to change notification settings

sasukearata123/Simple-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

var x = 10; var name = "Alice"; var tt = "amartya"; print name + " " + tt; print x*2+4;

And the compilation will stop if encountered any error

g++ simplang.cpp -o simplelang_compiler .\simplelang_compiler.exe test.sl .\output.exe

It is technically correct requires semi colon after every print statement . IT HAS RULES JUST LIKE A NORMAL PROGRAMMING LANGUAGE

About

converts simplang code to cpp rules is you cannot add string with int just as in cpp and i am giving a test syntax

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages