Skip to content

LinuxUserJTB/DynamicGrammars.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DynamicGrammars.jl

DynamicGrammars.jl is a package for string parsing with context-free grammars in pure julia.

Grammars are represented as RuleSets with specified terminal symbol type. Each rule in a ruleset has a name, an index and a definition. The definition is a node which can have following types:

  • Reference: resolves the definition of another rule
  • Structure: used to create nodes in the abstract syntax tree
  • Terminal: matches a string part using deterministic automata
  • Concatenation: matches multiple nodes in order
  • Repetition: explicit "array" of nodes, can specify minimal/maximal count
  • Alternative: matches one of multiple alternative nodes

About

string parsing using context-free grammars

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages