A homemade professional compiled programming language.
It compiles to NASM and can cross-compile, though it's cross-compilation capabilities haven't been verified.
Input
Int_64 number = 123456751
printf("num", "{number}\n")
Result: 123456751
Input:
equate("myEquation", "240*4")
Result: 840
Syntax guide has moved to GitHub discussions.
Run make win, the output will be a .exe file
Run make unix, the output will be an executable
Run make macosapp, the output will be a .app file
evaluate <input> [args]CLI Flags:
--input <file> -i <file> - Path to the target file - Default parameter
--verbose -v - Outputs stack modifications
--version - Version of Evaluate installation
--force -f - Forces the program to run
--disable-warnings - Do not show warnings
--output <output> -o <output> - defaults to "output" - The name of the outputted *.asm file.
--help -h - Outputs the args help menu
Linux (highly supported): nasm -f elf <file>.asm
Windows (supported): nasm -f win32 <file>.asm
MacOS (not supported): nasm -f macho64 <file>.asm
Linux and MacOS: ld -o <file> <file>.o
Windows: ld -o <file>.exe <file>.o
As you might have noticed, we have multiple GitHub branches. The order of reliability follows:
with 1 being the least reliable and littered with bugs and 4 being the most reliable and without many bugs. To run anything other than production, you must use the --force flag.