Skip to content

Commit

Permalink
feat: update fib.json
Browse files Browse the repository at this point in the history
  • Loading branch information
algebraic-dev authored Sep 7, 2023
1 parent 31d4be2 commit 3e217bb
Showing 1 changed file with 17 additions and 361 deletions.
378 changes: 17 additions & 361 deletions files/fib.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,374 +146,30 @@
"location": { "start": 10, "end": 87, "filename": "files/fib.rinha" }
},
"next": {
"kind": "Let",
"name": {
"text": "x",
"location": { "start": 94, "end": 95, "filename": "files/fib.rinha" }
},
"kind": "Print",
"value": {
"kind": "Int",
"value": 10,
"location": { "start": 98, "end": 100, "filename": "files/fib.rinha" }
},
"next": {
"kind": "Let",
"name": {
"text": "n",
"location": {
"start": 106,
"end": 107,
"filename": "files/fib.rinha"
}
},
"value": {
"kind": "Binary",
"lhs": {
"kind": "Var",
"text": "f",
"location": {
"start": 110,
"end": 111,
"filename": "files/fib.rinha"
}
},
"op": "Add",
"rhs": {
"kind": "Var",
"text": "f2",
"location": {
"start": 114,
"end": 116,
"filename": "files/fib.rinha"
}
},
"location": {
"start": 110,
"end": 116,
"filename": "files/fib.rinha"
}
"kind": "Call",
"callee": {
"kind": "Var",
"text": "fib",
"location": { "start": 97, "end": 100, "filename": "files/fib.rinha" }
},
"next": {
"kind": "Let",
"name": {
"text": "_",
"location": {
"start": 122,
"end": 123,
"filename": "files/fib.rinha"
}
},
"value": {
"kind": "Print",
"value": {
"kind": "Var",
"text": "x",
"location": {
"start": 133,
"end": 134,
"filename": "files/fib.rinha"
}
},
"location": {
"start": 126,
"end": 135,
"filename": "files/fib.rinha"
}
},
"next": {
"kind": "Let",
"name": {
"text": "_",
"location": {
"start": 141,
"end": 142,
"filename": "files/fib.rinha"
}
},
"value": {
"kind": "Print",
"value": {
"kind": "Var",
"text": "n",
"location": {
"start": 152,
"end": 153,
"filename": "files/fib.rinha"
}
},
"location": {
"start": 145,
"end": 154,
"filename": "files/fib.rinha"
}
},
"next": {
"kind": "Let",
"name": {
"text": "_",
"location": {
"start": 160,
"end": 161,
"filename": "files/fib.rinha"
}
},
"value": {
"kind": "Print",
"value": {
"kind": "Binary",
"lhs": {
"kind": "Str",
"value": "fib ",
"location": {
"start": 171,
"end": 177,
"filename": "files/fib.rinha"
}
},
"op": "Add",
"rhs": {
"kind": "Call",
"callee": {
"kind": "Var",
"text": "fib",
"location": {
"start": 180,
"end": 183,
"filename": "files/fib.rinha"
}
},
"arguments": [
{
"kind": "Int",
"value": 100000,
"location": {
"start": 184,
"end": 190,
"filename": "files/fib.rinha"
}
}
],
"location": {
"start": 180,
"end": 191,
"filename": "files/fib.rinha"
}
},
"location": {
"start": 171,
"end": 191,
"filename": "files/fib.rinha"
}
},
"location": {
"start": 164,
"end": 192,
"filename": "files/fib.rinha"
}
},
"next": {
"kind": "Let",
"name": {
"text": "_",
"location": {
"start": 198,
"end": 199,
"filename": "files/fib.rinha"
}
},
"value": {
"kind": "Print",
"value": {
"kind": "Call",
"callee": {
"kind": "Var",
"text": "f",
"location": {
"start": 209,
"end": 210,
"filename": "files/fib.rinha"
}
},
"arguments": [],
"location": {
"start": 209,
"end": 212,
"filename": "files/fib.rinha"
}
},
"location": {
"start": 202,
"end": 213,
"filename": "files/fib.rinha"
}
},
"next": {
"kind": "Let",
"name": {
"text": "_",
"location": {
"start": 219,
"end": 220,
"filename": "files/fib.rinha"
}
},
"value": {
"kind": "Print",
"value": {
"kind": "Call",
"callee": {
"kind": "Var",
"text": "f2",
"location": {
"start": 230,
"end": 232,
"filename": "files/fib.rinha"
}
},
"arguments": [
{
"kind": "Str",
"value": "pao",
"location": {
"start": 233,
"end": 238,
"filename": "files/fib.rinha"
}
}
],
"location": {
"start": 230,
"end": 239,
"filename": "files/fib.rinha"
}
},
"location": {
"start": 223,
"end": 240,
"filename": "files/fib.rinha"
}
},
"next": {
"kind": "Let",
"name": {
"text": "_",
"location": {
"start": 246,
"end": 247,
"filename": "files/fib.rinha"
}
},
"value": {
"kind": "Print",
"value": {
"kind": "Binary",
"lhs": {
"kind": "Int",
"value": 10,
"location": {
"start": 258,
"end": 260,
"filename": "files/fib.rinha"
}
},
"op": "Mul",
"rhs": {
"kind": "Binary",
"lhs": {
"kind": "Int",
"value": 14,
"location": {
"start": 264,
"end": 266,
"filename": "files/fib.rinha"
}
},
"op": "Add",
"rhs": {
"kind": "Int",
"value": 3,
"location": {
"start": 269,
"end": 270,
"filename": "files/fib.rinha"
}
},
"location": {
"start": 264,
"end": 270,
"filename": "files/fib.rinha"
}
},
"location": {
"start": 258,
"end": 271,
"filename": "files/fib.rinha"
}
},
"location": {
"start": 250,
"end": 273,
"filename": "files/fib.rinha"
}
},
"next": {
"kind": "Print",
"value": {
"kind": "Str",
"value": "hello, world",
"location": {
"start": 282,
"end": 296,
"filename": "files/fib.rinha"
}
},
"location": {
"start": 275,
"end": 297,
"filename": "files/fib.rinha"
}
},
"location": {
"start": 242,
"end": 297,
"filename": "files/fib.rinha"
}
},
"location": {
"start": 215,
"end": 297,
"filename": "files/fib.rinha"
}
},
"location": {
"start": 194,
"end": 297,
"filename": "files/fib.rinha"
}
},
"location": {
"start": 156,
"end": 297,
"filename": "files/fib.rinha"
}
},
"arguments": [
{
"kind": "Int",
"value": 10,
"location": {
"start": 137,
"end": 297,
"start": 101,
"end": 103,
"filename": "files/fib.rinha"
}
},
"location": {
"start": 118,
"end": 297,
"filename": "files/fib.rinha"
}
},
"location": { "start": 102, "end": 297, "filename": "files/fib.rinha" }
],
"location": { "start": 97, "end": 104, "filename": "files/fib.rinha" }
},
"location": { "start": 90, "end": 297, "filename": "files/fib.rinha" }
"location": { "start": 90, "end": 105, "filename": "files/fib.rinha" }
},
"location": { "start": 0, "end": 297, "filename": "files/fib.rinha" }
"location": { "start": 0, "end": 105, "filename": "files/fib.rinha" }
},
"location": { "start": 0, "end": 297, "filename": "files/fib.rinha" }
"location": { "start": 0, "end": 105, "filename": "files/fib.rinha" }
}

0 comments on commit 3e217bb

Please sign in to comment.