srithon / kmonadx Goto Github PK
View Code? Open in Web Editor NEWA concise and expressive extension language for configuring KMonad
License: GNU General Public License v3.0
A concise and expressive extension language for configuring KMonad
License: GNU General Public License v3.0
Currently, the CLI prints out "Exit code would be ...". This was because of an issue with the exit() function terminating the program without running destructors, but this is easily solved.
The parser currently supports all types as rvalues, but the compiler only allows buttons outside of the [configuration]
table. It would be really convenient if we could define variables and use them in buttons, like so:
[aliases]
tap-hold-delay = 250
[some-layer]
[[public]]
l = (tap-hold-next-release $tap-hold-delay @leader_next lmet)
The interpolation syntax itself is yet to be decided; should it be &tap-hold-delay
to disambiguate from shell variable interpolation?
At times, it would be nice to be able to refer to the environment of an alias or a key. One prominent example used in target_tutorial.kbdx is the &layer
variable, which would resolve to the name of the layer within which an alias or key is defined. It could also be convenient to have an &key
variable, which resolved to the key being mapped.
[some-layer]
[[private]]
exit-layer = (layer-rem &layer)
Now that the tool is functional, users may want to try it out without having to install cargo
or the rust compiler.
Sometimes, you may want to have two keys do the same thing. Currently, the best way to achieve this behavior is to abstract the functionality into an alias, and have both keys execute that alias. However, it would be cleaner if instead, we could just set the values of both keys simultaneously, like so:
{ X, Y } = 'A'
Currently, the TOML
syntax highlighting on GitHub is flagging all of the unquoted rvalues red, as they would not be valid TOML syntax.
This is valid syntax in kbdx
, so we need to add custom rules to make sure our documents get highlighted properly.
Another issue that could come about is tap macro syntactic sugar being interpreted as comments, since they are prefixed with a hash symbol.
This is currently being masked by the red highlighting from the first issue, but after that is fixed it will likely become a problem.
Custom highlighting rules would fix both of these
The help message says that this is the default behavior, but while debugging I set it to print to stdout.
Currently the program just no-ops and returns
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.