Skip to content

Commit

Permalink
remove stale comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bhansconnect committed Dec 14, 2024
1 parent e55fcef commit 8c25728
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions crates/cli/tests/test-projects/false-interpreter/main.roc
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ import Variable exposing [Variable]
# 1) The input files are considered too large to just read in at once. Instead it is read via buffer or line.
# 2) The output is also considered too large to generate in memory. It must be printed as we go via buffer or line.

# All of the notes below this line are hopefully outdated with purity inference.
# ----------
# I think one of the biggest issues with this implementation is that it doesn't return to the platform frequently enough.
# What I mean by that is we build a chain of all Tasks period and return that to the host.
# In something like the elm architecture you return a single step with one Task.
# The huge difference here is when it comes to things like stack overflows.
# In an imperative language, a few of these pieces would be in while loops and it would basically never overflow.
# This implementation is easy to overflow, either make the input long enough or make a false while loop run long enough.
# I assume all of the Task.awaits are the cause of this, but I am not 100% sure.

InterpreterErrors : [BadUtf8, DivByZero, EmptyStack, InvalidBooleanValue, InvalidChar Str, MaxInputNumber, NoLambdaOnStack, NoNumberOnStack, NoVariableOnStack, NoScope, OutOfBounds, UnexpectedEndOfData]

main! : Str => {}
Expand Down

0 comments on commit 8c25728

Please sign in to comment.