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

Grammatical Framework

< >

Grammatical Framework is a grammar language created in 1998.

#1034on 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
View source
- Build the next great programming language · About · Keywords · Resources · Acknowledgements · Part of the World Wide Scroll