Hello there!
When trying out tinywl I ran into the issue of having to manually add the xkbcommon-keysyms.scm file to the directory. Which isn't great...
So I found a work around, but I wanted to get your input to see if I was missing something.
There is a way to export all the symbols without manually having to specify it, that is to replace begin with this:
(module
xkbcommon-keysyms
* ;; The splat exports all symbols
(import (chicken base) scheme)
However, this doesn't quite work because the symbol's don't actually export...
After, trying to manually export one of the symbols the compiler threw the error that constant's can't be exported.
So the next step was to simply turn all the define-constant into just define, and then it worked fine.
My question is there a technical reason to not go this route? The compile time and file size don't seem out of the ordinary so I think this should be okay.
Hello there!
When trying out tinywl I ran into the issue of having to manually add the xkbcommon-keysyms.scm file to the directory. Which isn't great...
So I found a work around, but I wanted to get your input to see if I was missing something.
There is a way to export all the symbols without manually having to specify it, that is to replace begin with this:
However, this doesn't quite work because the symbol's don't actually export...
After, trying to manually export one of the symbols the compiler threw the error that constant's can't be exported.
So the next step was to simply turn all the define-constant into just define, and then it worked fine.
My question is there a technical reason to not go this route? The compile time and file size don't seem out of the ordinary so I think this should be okay.