Skip to content

kived/kvlang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kvlang

ANTLRv3-based grammar for parsing kv and generating abstract syntax trees.

Requires ANTLR Python runtime v3.1.3. i.e.: pip install http://antlr3.org/download/Python/antlr_python_runtime-3.1.3.tar.gz

###Building

Run make from the top-level folder.

###Testing

  • make test: show lexer and parser output for test.kv
  • make demo: start Kivy AST demo for test.kv
  • make kivydemo: start Kivy AST demo for tstyle.kv
  • make loader: start a demo app using AST loader instead of Builder loader

test.kv is a simple kv file to test the grammar.

About

Grammar and AST tools for the kv language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages