Skip to content

DexerMatters/grammax

Repository files navigation

Grammax

Next generation solution for a neat language server.

Progress

Basic

  • Basic grammar DSL
  • Design normalized grammar
  • Normalize repetitive and optional rules
  • Extract sync tokens and delimiters
  • Derive bridge parsing specs
  • Red-green tree
  • Store and load processed grammar and analysis results
  • Pretty print for AST
  • Basic logic of the LR parser
  • Temporal LRU cache for node reusing
  • Coarse-grained error recovery
  • Fine-grained error recovery (missing tokens)
  • Error recovery with scope analysis
  • Stabilize error recovery
  • Pretty print for errors
  • Warnings for preferred alternatives
  • Concurrent runtime platform
  • Fully configurable runtime behaviors
  • Channel communication with the main thread
  • Faster node cache invalidation
  • Basic ascending-based reparsing
  • Strategy-based reparsing
  • Further localize reparsing range
  • Stabilize reparsing
  • Perfect parser listeners
  • Perfect runtime listeners
  • Basic interactive platform
  • IR ready for semantic analysis of red-green AST
  • Specified meta information on AST nodes
  • Simple reactive framework
  • Language server protocol integration

Framework

  • Lazy computation framework
  • Scope graph layer for type checkers

LSP features

  • Semantic highlighting
  • Code completion

Documentation

  • Inline documentation for public APIs
  • Examples for public APIs
  • Mdbook documentation for the design and implementation details ...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages