[WIP] Compile Linklets to Javascript by gamburgm · Pull Request #266 · racketscript/racketscript · GitHub
Skip to content

[WIP] Compile Linklets to Javascript#266

Draft
gamburgm wants to merge 176 commits intoracketscript:masterfrom
gamburgm:gamburgm/compile-linklet-to-js
Draft

[WIP] Compile Linklets to Javascript#266
gamburgm wants to merge 176 commits intoracketscript:masterfrom
gamburgm:gamburgm/compile-linklet-to-js

Conversation

@gamburgm
Copy link
Copy Markdown
Contributor

@stchang

We would like to eliminate the server requirement for editing Racketscript online. To do that, we need to be able to run the Racketscript compiler itself (and more importantly, the Racket expander) in the browser.

The first step in achieving this is compiling linklets to javascript. The expander can compile itself to one, so this is the first milestone in the bootstrapping process.

Warning: the code is a mess. The code was written under the (reasonable) assumption that there wouldn't be another module-like entity to compile, but I've skipped refactoring any of that at the moment.

@gamburgm gamburgm changed the title Compile Linklets to Javascript [WIP] Compile Linklets to Javascript Nov 12, 2021
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Nov 12, 2021

Comment thread stuff.rkt
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file probably shouldn't be committed.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but apparently there are others so this might be still early WIP, in which case disregard. :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this is still in early stages, some of these garbage files (especially expander.rktl) are just convenient when I'm switching computers or someone else wants to debug something -- hopefully this is in a better state soon :^)

@stchang stchang marked this pull request as draft November 9, 2022 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants