Welcome to the web IDE, to get started with Eryx I recommend you check out the
Documentation
, the
Package Index
and maybe even star the
Github Repository
:D
✖
Eryx
v0.5.6
Execution Settings
Mode:
Run
Result
Tokenize
AST
Transpile
Memory Options
REPL Mode
Enable this to preserve variables across axecutions.
Restart REPL
Output
Clear Output
example.eryx
func isSorted(arr, idx) { if (idx == 0) { return true; } if (arr[idx] < arr[idx - 1]) { return false; } return isSorted(arr, idx - 1); } let nums = [1, 2, 3, 4, 5]; print(nums, isSorted(nums, len(nums) - 1))
Output