Measures Concepts
GitHub icon

Grammatical Framework

Grammatical Framework - Grammar language

< >

Grammatical Framework is a grammar language created in 1998.

#1164on PLDB 26Years Old 624kRepos

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 Token Example
Comments ✓
-- A comment
Line Comments ✓ --
-- A comment
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout