Skip to content

Instantly share code, notes, and snippets.

@mneise
Created October 31, 2017 03:19
Show Gist options
  • Select an option

  • Save mneise/274224fd98d01d4ece931a6d0c8a5b34 to your computer and use it in GitHub Desktop.

Select an option

Save mneise/274224fd98d01d4ece931a6d0c8a5b34 to your computer and use it in GitHub Desktop.
standard library:
Name(IR Name): chr(0chr)
Type: Function
TypeId: --
Dimension: --
Record Fields: --
Function Parameters: i : INT
Function Return: STRING
Value: uninit
Name(IR Name): concat(0concat)
Type: Function
TypeId: --
Dimension: --
Record Fields: --
Function Parameters: s1 : STRING s2 : STRING
Function Return: STRING
Value: uninit
Name(IR Name): exit(0exit)
Type: Procedure
TypeId: --
Dimension: --
Record Fields: --
Function Parameters: i : INT
Function Return: --
Value: uninit
Name(IR Name): flush(0flush)
Type: Procedure
TypeId: --
Dimension: --
Record Fields: --
Function Parameters:
Function Return: --
Value: uninit
Name(IR Name): getchar(0getchar)
Type: Function
TypeId: --
Dimension: --
Record Fields: --
Function Parameters:
Function Return: STRING
Value: uninit
Name(IR Name): not(0not)
Type: Function
TypeId: --
Dimension: --
Record Fields: --
Function Parameters: i : INT
Function Return: INT
Value: uninit
Name(IR Name): ord(0ord)
Type: Function
TypeId: --
Dimension: --
Record Fields: --
Function Parameters: s : STRING
Function Return: INT
Value: uninit
Name(IR Name): print(0print)
Type: Procedure
TypeId: --
Dimension: --
Record Fields: --
Function Parameters: s : STRING
Function Return: --
Value: uninit
Name(IR Name): printi(0printi)
Type: Procedure
TypeId: --
Dimension: --
Record Fields: --
Function Parameters: i : INT
Function Return: --
Value: uninit
Name(IR Name): size(0size)
Type: Function
TypeId: --
Dimension: --
Record Fields: --
Function Parameters: s : STRING
Function Return: INT
Value: uninit
Name(IR Name): substring(0substring)
Type: Function
TypeId: --
Dimension: --
Record Fields: --
Function Parameters: s : STRING s : STRING f : INT n : INT
Function Return: STRING
Value: uninit
--------------------------------------------------
exit:
Name(IR Name): i(11i)
Type: Variable
TypeId: INT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
--------------------------------------------------
not:
Name(IR Name): i(10i)
Type: Variable
TypeId: INT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
--------------------------------------------------
concat:
Name(IR Name): s1(9s1)
Type: Variable
TypeId: STRING
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
Name(IR Name): s2(9s2)
Type: Variable
TypeId: STRING
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
--------------------------------------------------
main:
Name(IR Name): $t2($t2)
Type: Variable
TypeId: INT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
Name(IR Name): 5(5)
Type: Constant
TypeId: INTLIT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
Name(IR Name): print1(12print1)
Type: Function
TypeId: --
Dimension: --
Record Fields: --
Function Parameters: x : INT
Function Return: INT
Value: uninit
Name(IR Name): y(12y)
Type: Variable
TypeId: INT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: 5
--------------------------------------------------
let2:
Name(IR Name): $t3($t3)
Type: Variable
TypeId: INT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
Name(IR Name): 1(1)
Type: Constant
TypeId: INTLIT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
Name(IR Name): 6(6)
Type: Constant
TypeId: INTLIT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
Name(IR Name): x(14x)
Type: Variable
TypeId: INT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: 6
--------------------------------------------------
print1:
Name(IR Name): $t0($t0)
Type: Variable
TypeId: INT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
Name(IR Name): $t1($t1)
Type: Variable
TypeId: INT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
Name(IR Name): 1(1)
Type: Constant
TypeId: INTLIT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
Name(IR Name): 10(10)
Type: Constant
TypeId: INTLIT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
Name(IR Name): 5(5)
Type: Constant
TypeId: INTLIT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
Name(IR Name): 7(7)
Type: Constant
TypeId: INTLIT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
Name(IR Name): x(13x)
Type: Variable
TypeId: INT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
--------------------------------------------------
size:
Name(IR Name): s(7s)
Type: Variable
TypeId: STRING
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
--------------------------------------------------
chr:
Name(IR Name): i(6i)
Type: Variable
TypeId: INT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
--------------------------------------------------
ord:
Name(IR Name): s(5s)
Type: Variable
TypeId: STRING
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
--------------------------------------------------
substring:
Name(IR Name): f(8f)
Type: Variable
TypeId: INT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
Name(IR Name): n(8n)
Type: Variable
TypeId: INT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
Name(IR Name): s(8s)
Type: Variable
TypeId: STRING
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
--------------------------------------------------
getchar:
--------------------------------------------------
print:
Name(IR Name): s(2s)
Type: Variable
TypeId: STRING
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
--------------------------------------------------
printi:
Name(IR Name): i(1i)
Type: Variable
TypeId: INT
Dimension: --
Record Fields: --
Function Parameters: --
Function Return: --
Value: uninit
--------------------------------------------------
flush:
--------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment