Install ghc and ghc-pkg version 9.6.x
Run cabal run ts-interpreter-app -- pifl-programs/02_hello.pifl result, it automatically install all required dependencies, builds the app and executes a simple program.
The building is quite slow; therefore, to speed up development, we use GHCiD, which automatically rebuilds and executes the tests after each change.
You can install ghcid via cabal update && cabal install ghcid (use the argument --install-method=copy on Windows to avoid symlinking error).
Important: You must install all the requirements using cabal install --only-dependencies before you can use ghcid.
Run cabal test all or ghcid -c "cabal repl ts-interpreter-test" -T "main" --reload=lib to execute all tests.