mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-21 10:49:33 -06:00
refreshed the tutorial
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
module Main where
|
||||
|
||||
import GSyntax
|
||||
import Base
|
||||
import SemBase
|
||||
import Logic
|
||||
import GF.GFCC.API
|
||||
import PGF
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
gr <- file2grammar "base.gfcc"
|
||||
gr <- file2grammar "Base.pgf"
|
||||
loop gr
|
||||
|
||||
loop :: MultiGrammar -> IO ()
|
||||
loop :: PGF -> IO ()
|
||||
loop gr = do
|
||||
s <- getLine
|
||||
let t:_ = parse gr "BaseEng" "S" s
|
||||
|
||||
Reference in New Issue
Block a user