Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Grammatical Framework

< >

Grammatical Framework is a grammar language created in 1998.

#1046on PLDB 26Years Old 624kRepos
Wikipedia

Grammatical Framework (GF) is a programming language for writing grammars of natural languages. GF is capable of parsing and generating texts in several languages simultaneously while working from a language-independent representation of meaning. Grammars written in GF can be compiled into different formats including JavaScript and Java and can be reused as software components. Read more on Wikipedia...


Example from Linguist:
--# -path=.:present -- (c) 2009 Aarne Ranta under LGPL concrete FoodsFin of Foods = FoodsI with (Syntax = SyntaxFin), (LexFoods = LexFoodsFin) ;
Example from Wikipedia:
> parse -lang=Fre "Marie aime Jean" | align_words -lang=Fre,Dut,Lat -view="eog"

Language features

Feature Supported Example Token
Comments ✓ -- A comment
Line Comments ✓ -- A comment --
Semantic Indentation X

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v154.3.0