Replies: 1 comment
-
|
I've typically only used the stack built executable after bundling (see util/bundle.kk). If you have local changes to the compiler / are on the dev branch there are several easier ways to deal with this though. To build+run you can use However, the easiest way to work with the local repo checkout is to use vscode and add the Also, if you are playing around with JS, there is an update to the extension in {
"type": "koka",
"request": "launch",
"program": "test/jsgen/err",
"name": "test/jsgen/err",
"programArgs": ["test/jsgen/err.kk"]
},Then I can set the backend to javascript using: To build the extension, use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When I build koka with
stack buildand call the generated executable with the right-iand--cclibdirarguments, I still get this error when compiling to C:To work around this I copy kklib directory to
.stack-work/dist/x86_64-linux-tinfo6/ghc-9.6.4/build/koka/share/koka/v3.1.3/kklib, but I wonder if there's a flag that I need to be passing?Beta Was this translation helpful? Give feedback.
All reactions