You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It doesn't support multi statement evaluation atm.
A REPL needs to perform some transformations to support declaring variables, thus we first need to classify the input into expression (returned from function), statement (evaluated in function), declaration (evaluated at module level). That parsing is done using libdparse and still has some gotchas atm.
I just quickly wanted to find the smallest file in a directory with this code:
It didn't even try to run that code and just said "Error parsing", however it is valid D code because running it using
rdmd --eval
workedThe text was updated successfully, but these errors were encountered: