Skip to content

Some Janet-related Notes and Code

Notifications You must be signed in to change notification settings

sogaiu/janet-stuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

janet-stuff

Reminders of some Janet notes and code

Notes

Code

Code Samples and Demos

  • git-some-janets - tool to retrieve various Janet repositories

  • janet-ref - doc and source lookups of Janet itself, core lib samples and quizzes, and then some... (can be used with shell completion for identifiers)

  • jaylib-netrepl-demo - demo of using Jaylib with spork/netrepl

  • jaylib-wasm-demo - demo of using Jaylib in a web browser via WASM

  • spork-http-sample - simple Janet spork/http samples

Editor Trial Kits

Emacs

  • a-janet-spork-client - Emacs Lisp implementation of a subset of the client end of spork/netrepl

  • ajrepl - interacting with a Janet REPL via Emacs

  • flycheck-janet - Emacs flycheck support for Janet

  • janet-ts-mode - tree-sitter-based Emacs major mode for Janet

  • snr - a spork/netrepl client for Emacs via "proxying"

Filesystem and Terminal

Janet Itself

  • index-janet - generate tags / TAGS files for Janet's source code using universal ctags (used by editors for features like "jump to definition")

  • index-janet-source - generate tags / TAGS files for Janet's source code using PEGs (used by editors for features like "jump to definition")

  • jdoc - use janet's doc from the command line (can be used with shell completion for identifiers)

  • look-up-janet-def - look up a definition for a Janet identifier via a command line program and display the results in an editor (can be used with shell completion for identifiers)

PEG

  • janet-pegdoc - doc, examples, and quizzes for Janet's PEGs (can be used with shell completion for identifiers)

  • margaret - peg/match implemented in Janet (along with PEG examples and tutorial material)

  • small-peg-tracer - trace and view simulated execution of Janet's peg/match

Protocols and Standards

Source Analysis, Generation, and Manipulation

  • clojure-peg - parsing and generating Clojure via Janet's PEGs

  • jandent - alternate indenter for Janet

  • janet-bounds - determining bounds of things in strings of Janet source code

  • janet-delims - some functions for working with delimiters in fragments of Janet source code

  • janet-indent - indenting a line or region of Janet source code

  • janet-last-expression - determining the last expression in a fragment of Janet source code

  • janet-location-zipper - zipper for Janet source

  • janet-peg - parsing and generating Janet via PEGs

  • janet-syntax-highlighting - maintenance tool for updating syntax highlighting info for various editors and tools

  • janet-unwrap - determining bounds for unwrapping forms in strings of Janet source code

  • review-janet - review (linting) tool for .janet code

Testing

Tree-sitter

  • janet-tree-sitter - experimental bindings for tree-sitter using Janet

  • tree-sitter-janet-simple - simple Janet grammar for tree-sitter (usable in Emacs, Helix, Neovim)

  • ts-questions - tree-sitter-related questions, discussions, and .janet scripts for fetching and analyzing grammar repositories

About

Some Janet-related Notes and Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published