source-academy / js-slang

Implementations of sublanguages of JavaScript, TypeScript, Scheme and Python
https://source-academy.github.io/source/
Apache License 2.0
70 stars 104 forks source link

Refactor Runners Part 1 #1564

Closed leeyi45 closed 7 months ago

leeyi45 commented 8 months ago

As discussed, I've been trying to standardize how the different Source runners are called. This PR is the first set of changes. js-slang will be able to read and run Source programs straight from the desktop.

If merged, this will supersede #1507

martin-henz commented 8 months ago

Currently this PR doesn't pass linting, probably in src/vm/svml-machine.ts See actions above. Maybe @leeyi45 can take another look?

leeyi45 commented 7 months ago

When I first wrote this I made several incorrect assumptions, will need to relook at this in the future