We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
But HaPyLi should look more like Scheme.
Try using scripting style. Like Schema scripts. I know, It is assembler, but try. The function has number of parameters. But also has size of result.
Types:
0
'a
[0 1 2]
"string"
Syntax:
[a b c d]
(begin first-line second-line)
{first-line second-line}
(asm first-line second-line)
<first-line second-line>
We need standard Schema expression:
We need special expression:
asm
(asm 2 1 body)
defines [a b] = (div-mod 16 3)
define x
defines [x]
Functions:
define a = (alloc 4)
(define alloc (lambda [n] (asm (ld 0) (cp 1) (cp 3) (add) (st 0) ))) (define + (lambda [] asm (add)))
The text was updated successfully, but these errors were encountered:
kamil-adam
DanutaZabinska
No branches or pull requests
But HaPyLi should look more like Scheme.
Try using scripting style. Like Schema scripts. I know, It is assembler, but try.
The function has number of parameters. But also has size of result.
Types:
0
or'a
[0 1 2]
or"string"
Syntax:
[a b c d]
(begin first-line second-line)
{first-line second-line}
?(asm first-line second-line)
<first-line second-line>
?We need standard Schema expression:
We need special expression:
asm
has type, how many cells returns, and how many cells gets(asm 2 1 body)
gets 2 cells and returns onedefines [a b] = (div-mod 16 3)
. Sodefine x
is shortcut fordefines [x]
Functions:
define a = (alloc 4)
Examples
The text was updated successfully, but these errors were encountered: