Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sogaiu/index-janet
https://github.com/sogaiu/index-janet
index janet tags
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sogaiu/index-janet
- Owner: sogaiu
- Created: 2023-05-06T06:29:27.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-18T02:02:56.000Z (about 2 months ago)
- Last Synced: 2024-11-18T02:43:18.107Z (about 2 months ago)
- Topics: index, janet, tags
- Language: Janet
- Homepage:
- Size: 119 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Support: support/idk-janet.janet
Awesome Lists containing this project
README
# index-janet
Generate `tags` / `TAGS` files for Janet's source code.
The index files provide lookups for Janet identifiers:
* Janet -> Janet (e.g. `if-let`)
* Janet -> C (e.g. `length` or `def`)## Setup
```
git clone https:/github.com/sogaiu/index-janet
cd index-janet
jpm install
```This should install a script named `idx-janet`.
## Usage
Assuming Janet source code lives in `~/src/janet`, to
generate `tags`:```
cd ~/src/janet
idx-janet
```This should produce a `tags` file, typically used by vim / neovim.
For `TAGS` (emacs):
```
cd ~/src/janet
IJ_OUTPUT_FORMAT=etags idx-janet
```This should produce a `TAGS` file, typically used by emacs.