[UNDER CONSTRUCTION]
Page is currently under construction!
Easily call Anima bytecode from C++, and vice-versa.
More information coming soon!
More information coming soon!
import
core;
// For writeLine
using
core.IO;
main
{
writeLine("Hello, World!");
}
Simplicity meets modernity.
Write less, and make more.
import core;
// For toString
using core.Convert;
// For writeLine
using core.IO;
namespace
Hello
{
macro
greet
{
{
$name
:
string
}
=>
{
(
"Hello, "
+
(
$name
+
"!"
) )
}
{
$name
:
expr
}
=>
{
(
"Hello, "
+
(
toString(
$name ) +
"!"
) )
}
}
}
main
{
writeLine(Hello.greet
"someone");
}
Clean, but powerful macro system.
Scoped, descriptive, complex and hygenic.
Have your code write itself elegantly, but without biting more than it can chew.
copy
"1 + 2 = "
->
register[0]
call in
print
bop
1
+
2
->
register[0]
call in
print
// Output: 1 + 2 = 3
Clean and descriptive assembly.
Write Anima bytecode directly, with no fuss.