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

bbadeb7 · Oct 14, 2023

History

41 Commits
Oct 10, 2023
Oct 8, 2023
Oct 10, 2023
Oct 14, 2023
Oct 14, 2023
Oct 8, 2023
Oct 8, 2023
Oct 11, 2023
Oct 14, 2023
Oct 8, 2023
Oct 10, 2023
Oct 8, 2023
Oct 13, 2023
Oct 10, 2023
Oct 14, 2023
Oct 11, 2023
Oct 11, 2023

Repository files navigation

tree-sitter-uiua

We need colors to mitigate the excessive use of 'n' shapes.

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