Skip to content

Uiua grammar for tree-sitter. Finally, Uiua programmers get AST-based editing features.

License

Notifications You must be signed in to change notification settings

shnarazk/tree-sitter-uiua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e87143b · Oct 18, 2024
Oct 10, 2023
Feb 1, 2024
Dec 3, 2023
Oct 18, 2024
Dec 3, 2023
Oct 8, 2023
Oct 8, 2023
Feb 29, 2024
Oct 18, 2024
Oct 8, 2023
Nov 11, 2023
Feb 1, 2024
Oct 18, 2024
Oct 18, 2024
Oct 18, 2024
Oct 18, 2024
Dec 7, 2023
Oct 18, 2024

Repository files navigation

tree-sitter-uiua

Finally, Uiua programmers get AST-based editing features.

References

A configuration for Helix

Are you a Helix user? Then try:

  1. [Optional] Add the basic configuration

  2. Add the following to your $CONFIG/helix/languages.toml

[[grammar]]
name = "uiua"
source.git = "https://github.com/shnarazk/tree-sitter-uiua"
source.rev = commit-id-as-string
  1. Build up on shell:
$ hx -g fetch
$ hx -g build
  1. Copy query files:
$ mkdir -p $HELIX/runtime/queries/uiua # or make your query directory
$ cp -r queries $HELIX/runtime/queries/uiua

Now you can:

  • traverse modules by ]t and [t
  • traverse comments by ]c and [c
  • and any AST-based editing as other languages