Skip to content

Instantly share code, notes, and snippets.

@sackeyjason
Last active August 24, 2020 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sackeyjason/458ed23a22a9859116b21b4ac5860eb6 to your computer and use it in GitHub Desktop.
Save sackeyjason/458ed23a22a9859116b21b4ac5860eb6 to your computer and use it in GitHub Desktop.
Haskenthetical attempts
$ stack exec -- haskenthe examples/factorial.hth
failed
CEUnboundVar (Name "\9580\9559")
$ stack exec -- haskenthe -h
Usage: haskenthe.EXE [--print-tree] [--print-expr] [--print-env] [--print-type]
[-v|--verbose] [--no-exec] ((-e|--eval ARG) | PROGRAM)
Run a program
Available options:
-h,--help Show this help text
--print-tree Print the syntax tree
--print-expr Print the parsed expressions
--print-env Print the environment
--print-type Print the inferred type
-v,--verbose Print everything
--no-exec Don't execute the program
-e,--eval ARG Evaluate from command line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment