-
Requires C++11 or later preferably C++17 or later
-
Make utility
Usage: ZetaStack [Options] ...
Options:
-h, --help Display this information
-v, --version Display version information
-c <str> Evaluates a string
-j <int> Sets the maximum thread count
--max-recurse <int> Sets the maximum recursion depth
--bare Start with absolute minimum memory usage
--crng Use Cryptographically secure RNG
--debug Start with debug mode on
--nobuffer Disables variable buffer
--noexec Start with execution disabled
--nohandle Disables signal handling
--safe Disables Commands and select functions
--time Times calculations
Function overloading is supported
Creating
=== f(x,y)=x/y
=== fma(a,b,c)=a+b*c
Using
=== f(fma(2,4+4,6*12),2/3-2)
=== f(1,7)
Deleting
=== /del f(
=== /del fma(
You can assign, manipulate and delete variables in ZetaStack. Assigning variables are the same as any other programming language.
=== x = 123
=== var = 2*(1+4)
=== var += 4 // Variable must be defined first
=== /del var
Special Variables
ans - the most recent answer
rand - a random number between 0 - 999 inclusive
Commenting
Commenting can be done with // or /**/
=== 64*(/*Comment here*/2+41/*will read as 4125*/25)
=== 256**2 //Everything after here will be gone
Commands can be accessed and used via the '/' key.
Available commands
bar Toggles progress bar
buffer <Options> Commands related to buffer
cache <Options> Commands related to cache
clock Displays a clock
debug Toggles debug mode
del <var> Deletes a variable
exec Toggles execution
exit Exits the program
export <var> Writes a variable to text
importvar <file> Imports a variable from a file
time Times calculations
globals Displays all defined functions and variables
unit <unit> Sets the unit to be used
; <Command> Executes system command