HS Global Script

From Rosetta Code
Revision as of 22:38, 18 November 2018 by rosettacode>Jonathanccast (Created page with "{{stub}}{{implementation|Global Script}} [https://github.com/jonathancast/hsglobalscript3 Available here]; you will also need the language spec, [https://github.com/jonathanc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page is a stub. It needs more information! You can help Rosetta Code by filling it in!
HS Global Script is an implementation of Global Script. Other implementations of Global Script.

Available here; you will also need the language spec, here.

This implementation is based on a translator for Global Script code embedded in a Haskell source file; to get a working program, you will need to add <lang Haskell>import GSI.Env (runGSProgram) $gsimports

main = runGSProgram $ [gs:value|

   -- Global Script code goes here

|]</lang> around the program, then compile and run that with a Haskell compiler.