Created
October 15, 2021 00:11
-
-
Save HackerFoo/08c13d566026bdc4b5def58729b905c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
,------------------, | |
,--------' Popr Interpreter '--------, | |
| Copyright 2012-2020 Dustin DeWeese | | |
'------------------------------------' | |
type :help for help - https://popr.dev | |
Load lib.ppr (lib, num, list, stack, control, logic, algorithm, io) | |
Load tests.ppr (tests) | |
Importing all modules (algorithm, control, io, lib, list, logic, num, stack, tests) | |
: :bc add: + | |
___ eval.add (2 -> 1) (hash: c96a9) ___ | |
[1] var :: ?i x1 pgjhj | |
[2] var :: ?i x1 mrqmm | |
[3] __primitive.add 2 1 :: i x1 oiowa | |
[4] return [3] kwokg | |
: :cc add | |
int eval_add(int int2, int int1); | |
int eval_add(int int2, int int1) | |
{ | |
entry: { | |
int int3 = __primitive_add_iii(int2, int1); | |
return int3; | |
} | |
} // end eval_add | |
: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment