Martin Henz
Martin Henz
It seems that this PR is not difficult to fix so that it can be merged. @FYL2003 can you take another look please.
this issue persists as of today.
Does the program to be run need to be part of the cycle? In my view, importing a module that cyclically depends on some other module is ill-defined.
I see. We should catch this error and display a more reasonable error message. Something like: "program /playground/program.js has cyclic dependencies in its import declarations"
Yes, this renaming (aka "refactoring") should be possible with Ctrl-M, see https://github.com/source-academy/frontend/wiki/Source-Academy-Keyboard-Shortcuts
Reminder: @hungkhoaitay you are probably uniquely qualified to fix this. If you have time.
See here for background: https://github.com/source-academy/js-slang/issues/691
Haha, fair enough. Need to see what's the canonical Python representation of estrees. I think we can work something out if we are willing to be a bit generous.
Yes, Source syntax should explicitly forbid the export syntax ``` export { show, heart } from 'rune'; ```
This program now produces a nice error message in the REPL: Line 31: Potential infinite recursion detected: stack_frac(0.9953271028037384, { "isPrimary": false, "transMatrix": { "0": 1, "1": 0, "2": 0, ......