this is a programming language called ExecScript thats like cpp but supposed to be easier
ExecScript is a C++ Dialect that's intended to make C++ look a little bit like Basic.
Here's some example code:
main {
print "This is ExecScript!";
print 5 mod 6;
print 5 is 5;
}
- GCC, to confirm that you have it run g++ -v
execute this command to install ExecScript:
# Using git
git clone https://github.com/Efendo/ExecScript/
# Using gh CLI
gh repo clone Efendo/ExecScript
Note: it has been compiled on x86-64 mac, you may have to recompile it using: cd ExecScript && make -s && cd ..
then add it to your path
export PATH="$PATH:$HOME/ExecScript/bin/"
To compile a file, type:
excs -c [FileToCompile] [OutputFile]
To compile a file to C++, type:
excs -cpp [FileToCompile] [OutputFile]
To get help, type:
excs -h
to make an excs project (you dont need to), type:
excs -m [ProjectName]
-
"str [VarName]" A macro for std::string
-
"print [Content]" A Macro for std::cout<<html
-
"input [Var]" A macro for std::cin>>
-
"pointer [VarName]" A macro for char*
-
"clr_text" A macro to clear the console
-
"NumPointer [VarName]" a macro for int*
-
"is" a macro for ==
-
"isnt" a macro for !=
-
"mod" a macro for % (modulo)
-
"blueprint" a macro for class
-
"elif" its for "else if"
-
"error" a macro for std::cerr