GithubHelp home page GithubHelp logo

drewt / chicken-xkbcommon Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 79 KB

CHICKEN scheme bindings for libxkbcommon

License: MIT License

C 64.24% Scheme 35.76%
chicken-scheme chicken-scheme-eggs xkbcommon

chicken-xkbcommon's People

Contributors

drewt avatar

Watchers

 avatar  avatar

chicken-xkbcommon's Issues

Exporting xkbcommon-keysyms

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.