mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
refactored the RGL description to general and language-specific parts: new languages can be added by writing the latter ones and adding a Makefile entry
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
all: english
|
||||
|
||||
english:
|
||||
txt2tags -thtml --toc gf-grammar.txt
|
||||
echo "English: A Digital Grammar" >gf-english.txt
|
||||
cat gf-general-1.txt gf-english-1.txt gf-general-2.txt gf-english-2.txt >>gf-english.txt
|
||||
txt2tags -thtml --toc gf-english.txt
|
||||
|
||||
|
||||
4
lib/doc/languages/gf-english-1.txt
Normal file
4
lib/doc/languages/gf-english-1.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
+Words: English-specific section+
|
||||
|
||||
|
||||
4
lib/doc/languages/gf-english-2.txt
Normal file
4
lib/doc/languages/gf-english-2.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
|
||||
+Syntax: English-specific section+
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
English: A Digital Grammar
|
||||
Aarne Ranta
|
||||
%%date
|
||||
|
||||
@@ -366,25 +365,3 @@ the determiner //the// in Swedish just selects an inflectional form of the noun
|
||||
"the" + //bil// = //bilen// ("the car").
|
||||
|
||||
|
||||
|
||||
//BEGIN English//
|
||||
|
||||
+Words: English-specific section+
|
||||
|
||||
|
||||
|
||||
//END English//
|
||||
|
||||
|
||||
|
||||
+Syntax: general section+
|
||||
|
||||
|
||||
//BEGIN English//
|
||||
|
||||
+Syntax: English-specific section+
|
||||
|
||||
|
||||
|
||||
//END English//
|
||||
|
||||
5
lib/doc/languages/gf-general-2.txt
Normal file
5
lib/doc/languages/gf-general-2.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
|
||||
+Syntax: general section+
|
||||
|
||||
|
||||
Reference in New Issue
Block a user