We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browser
Here is one such option:
# Clone racketscript git clone git@github.com:racketscript/racketscript.git rs cd rs # Build and setup paths make setup export PATH="$PATH:$(git rev-parse --show-toplevel)/racketscript-compiler/bin/" # Add a `scratch/` path to git exclude echo 'scratch/' >> .git/info/exclude mkdir scratch/ # Write a 'hello, world!' racket script echo '#lang racket\n(print "hello, world!")' > scratch/module.rkt # Ensure the racket script works racket scratch/module.rkt # Compile to racketscript racks scratch/module.rkt # Create a module.html file cd js-build echo '<!doctype html><html><head><script type="module" src="modules/module.rkt.js"></script></head></html>' > module.html # Start a simple http server python3 -m http.server # Navigate to http://localhost:8000/module.html
TODOs:
console.log
Other potential TODOs:
python -m http.server
The text was updated successfully, but these errors were encountered:
An equivalent of python -m http.server in Racket is raco static-web, but you need to install raco-static-web package first.
raco static-web
raco-static-web
Sorry, something went wrong.
Regarding cause console.log to be invoked, it looks like (#js*.console.log ...) is that gesture. Related: #337.
cause console.log to be invoked
(#js*.console.log ...)
No branches or pull requests
Here is one such option:
TODOs:
console.log
to be invokedOther potential TODOs:
python -m http.server
with an equivalent racket callThe text was updated successfully, but these errors were encountered: