Feat: add now can add two full strings Fix: it2 would have different working for emit eof Fix: eq and lt would return bools on it0 and it1 Fix: Functions always return something (there is no such thing as an empty type). Fix: Return value from main is now always ignored. Fix: Output from check is same on all iterations
20 lines
288 B
Plaintext
20 lines
288 B
Plaintext
main:
|
|
declare result
|
|
emit "eq A A: "
|
|
calc result eq "A" "A"
|
|
emit result
|
|
emit eol
|
|
emit "eq A B: "
|
|
calc result eq "A" "B"
|
|
emit result
|
|
emit eol
|
|
emit "eq AA AA: "
|
|
calc result eq "AA" "AA"
|
|
emit result
|
|
emit eol
|
|
emit "eq AA AB: "
|
|
calc result eq "AA" "AB"
|
|
emit result
|
|
emit eol
|
|
/
|