New (new new) Interpreter implemented in Haskell (includes a Global Script to Haskell compiler as well)
jonathancast/hsglobalscript3
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
This is *alpha quality* software. It works for me on my machine; it hasn't been tested on anything else. Use at your own risk. This is pretty self-explanatory to me, but if it isn't to you: You will need Plan 9 from User Space, here: https://9fans.github.io/plan9port/ . You also will need the language spec, here: https://hub.darcs.net/jcast/globalscript-spec (Darcs Hub) or here: https://hub.darcs.net/jcast/globalscript-spec (GitHub). The language spec should go in a parallel directory to this checkout. Set HSGLOBALSCRIPT=`pwd` GS_SPEC=whereever you put the globalscript-spec checkout Then run sh install-prereqs.sh sh setup ./test-all to test and build this checkout. To run a Global Script program, wrap it in import GSI.Env (runGSProgram) $gsimports main = runGSProgram $ [gs:value| -- Global Script code goes here |] , save that to a .hsgs file, then run $HSGLOBALSCRIPT/bin/hsgs2hs $foo.hsgs ghc -package-env=$HSGLOBALSCRIPT/package.env --make foo.hs -o foo ./foo to compile and run it.
About
New (new new) Interpreter implemented in Haskell (includes a Global Script to Haskell compiler as well)
Topics
Resources
Code of conduct
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published