d-emacs-module ~master
Emacs dynamic modules in D
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
d-emacs-module
D binding and high-level wrappers (WIP) for Emacs dynamic modules. See example and test.d/test.el for its usage.
Emacs version spec
This library assumes Emacs27 but you can explicitly specify version (e.g. Emacs25, Emacs26, Emacs27) in dub.json:
{
"name": "your-emacs-module"
"license": "GPLv3",
"targetType": "dynamicLibrary",
"versions": ["Emacs27"]
"dependencies": {
"d-emacs-module": "*"
}
}
Note that except emacs_module.deimos
, this library does NOT support Emacs25 and Emacs26.
TODOs
Emacs 25 features
- [x] basic type (int, double, string, bool) support
- [x] vector type support
- [x] memory management
- [x] non-local exit support
- [ ] embedded pointer support
Emacs 26 features
- [ ] should_quit support
Emacs 27 features
- [ ] process_input support
- [ ] time type support
- [ ] big int support
References
- Official Emacs dynamic modules doc
- Official C API (Emacs 27) C/emacs-module.h
- Third-party rust API https://github.com/ubolonton/emacs-module-rs
- Registered by shigeki karita
- ~master released 3 years ago
- ShigekiKarita/d-emacs-module
- GPLv3
- Copyright © 2021, karita
- Authors:
- Dependencies:
- none
- Versions:
-
0.0.1 2021-Dec-12 ~master 2021-Dec-14 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
3 downloads total
-
- Score:
- 1.0
- Short URL:
- d-emacs-module.dub.pm