paths in Symbol modules; present in ResRon (not complete)

This commit is contained in:
aarne
2009-10-05 12:54:17 +00:00
parent da177ed66a
commit 6a744bfb5f
19 changed files with 24 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
--# -path=.:abstract:common
--# -path=.:../abstract:../common
concrete SymbolAra of Symbol = CatAra ** open Prelude, ResAra in {

View File

@@ -1,4 +1,4 @@
--# -path=.:abstract:common
--# -path=.:../abstract:../common
concrete SymbolBul of Symbol = CatBul ** open Prelude, ResBul in {

View File

@@ -1,4 +1,4 @@
--# -path=.:romance:abstract:common
--# -path=.:../romance:../abstract:../common
concrete SymbolCat of Symbol = CatCat ** SymbolRomance with
(ResRomance = ResCat) ;

View File

@@ -1,4 +1,4 @@
--# -path=.:scandinavian:abstract:common
--# -path=.:../scandinavian:../abstract:../common
concrete SymbolDan of Symbol = CatDan ** SymbolScand with
(ResScand = ResDan) ;

View File

@@ -1,4 +1,4 @@
--# -path=.:abstract:common
--# -path=.:../abstract:../common
concrete SymbolEng of Symbol = CatEng ** open Prelude, ResEng in {

View File

@@ -1,4 +1,4 @@
--# -path=.:abstract:common
--# -path=.:../abstract:../common
concrete SymbolFin of Symbol = CatFin ** open Prelude, NounFin, ResFin in {

View File

@@ -1,4 +1,4 @@
--# -path=.:romance:abstract:common
--# -path=.:../romance:../abstract:../common
concrete SymbolFre of Symbol = CatFre ** SymbolRomance with
(ResRomance = ResFre) ;

View File

@@ -1,4 +1,4 @@
--# -path=.:abstract:common
--# -path=.:../abstract:../common
concrete SymbolGer of Symbol = CatGer ** open Prelude, ResGer in {

View File

@@ -1,4 +1,4 @@
--# -path=.:abstract:common
--# -path=.:../abstract:../common
concrete SymbolHin of Symbol = CatHin ** open Prelude, ResHin in {

View File

@@ -1,4 +1,4 @@
--# -path=.:abstract:common
--# -path=.:../abstract:../common
concrete SymbolIna of Symbol = CatIna ** open Prelude, ResIna in {

View File

@@ -1,4 +1,4 @@
--# -path=.:romance:abstract:common
--# -path=.:../romance:../abstract:../common
concrete SymbolIta of Symbol = CatIta ** SymbolRomance with
(ResRomance = ResIta) ;

View File

@@ -1,4 +1,4 @@
--# -path=.:abstract:common
--# -path=.:../abstract:../common
concrete SymbolLat of Symbol = CatLat ** open Prelude, ResLat in {
--

View File

@@ -1,4 +1,4 @@
--# -path=.:scandinavian:abstract:common
--# -path=.:../scandinavian:../abstract:../common
concrete SymbolNor of Symbol = CatNor ** SymbolScand with
(ResScand = ResNor) ;

View File

@@ -508,9 +508,9 @@ oper
RCond => VCondit ;
RPres => VPres m
} ;
cmp = case <t,a,m> of
{<RPast,Simul,Indic> | <RPres, Anter,Indic> => True ;
<RCond, _, _> => True;
cmp = case <<t,a,m> : RTense * Anteriority * Mood> of {
<RPast,Simul,Indic> | <RPres, Anter,Indic> => True ; --# notpresent
<RCond, _, _> => True; --# notpresent
_ => False
} ;
vp = useVP vpr ;

View File

@@ -1,3 +1,5 @@
--# -path=.:../abstract:../common
concrete SymbolRon of Symbol =
CatRon ** open Prelude, ResRon in {

View File

@@ -1,4 +1,4 @@
--# -path=.:abstract:common
--# -path=.:../abstract:../common
concrete SymbolRus of Symbol = CatRus ** open Prelude, ResRus in {

View File

@@ -1,4 +1,4 @@
--# -path=.:romance:abstract:common
--# -path=.:../romance:../abstract:../common
concrete SymbolSpa of Symbol = CatSpa ** SymbolRomance with
(ResRomance = ResSpa) ;

View File

@@ -1,4 +1,4 @@
--# -path=.:scandinavian:abstract:common
--# -path=.:../scandinavian:../abstract:../common
concrete SymbolSwe of Symbol = CatSwe ** SymbolScand with
(ResScand = ResSwe) ;

View File

@@ -3,7 +3,7 @@ import GF.Data.Operations
import GF.Grammar.API
import GF.Grammar.Parser
import GF.Grammar.Grammar (Term)
import GF.Grammar.PrGrammar (prTermTabular)
--import GF.Grammar.PrGrammar (prTermTabular)
import GF.Infra.Option
import GF.Infra.UseIO
import GF.Text.UTF8
@@ -60,7 +60,8 @@ doEval :: Grammar -> String -> Err JSValue
doEval sgr t = liftM termToJSValue $ eval sgr t
termToJSValue :: Term -> JSValue
termToJSValue t = showJSON [toJSObject [("name", name), ("value",value)] | (name,value) <- prTermTabular t]
termToJSValue t = error "prTermTabular undefined"
---- showJSON [toJSObject [("name", name), ("value",value)] | (name,value) <- prTermTabular t]
eval :: Grammar -> String -> Err Term
eval sgr t =