Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

TinyGrammar

TinyGrammar is a minimalistic implementation of Chomsky's generative grammar.

The generator creates random sentences starting from a grammar definition; it can be used as a library or via command line.

Grammar rules can be added programmaticaly or stored on a text file in a very intuitive format - here's an example.

Live examples

I used TinyGrammar for two generators, you can try them on my site:

Both grammar definitions are included in the Examples folder.

Environment

  • .NET Framework / C#
  • XUnit
  • No external dependencies

License

GNU GENERAL PUBLIC LICENSE V 3

Copyright (C) Massimo Barbieri

About

A minimalistic implementation of Chomsky's generative grammar

Resources

License

Releases

No releases published

Packages

No packages published

Languages