The XSaiga package

[Tags:bsd3, library, program]

This package contains a Haskell implementation of the X-SAIGA project's parser combinators. The combinators enable fully-general attribute grammars to be implemented as executable specifications. Although the parser is top-down, and therefore highly modular, left-recursive productions are allowed and fully-general synthesized and inherited attribute dependencies are also allowed. The parse tree, which is decorated with attribute values, is built as a compact Tomita-style graph. Lazy evaluation enables attribute values to be evaluated only as needed. Time and space complexity are both O(n^4) where n is the length of the input. An example natural-language interface (called Solarman) to a semantic-web style RDF triplestore with approximately 3,000 facts about the solar system has been built as an executable specification of an attribute grammar. Solarman is included in this archive. Solarman computes answers to queries using an event-based denotational semantics which is based on Montague and Davidsonian semantics. A web site [4] has been created so that readers can enter queries and find out more about Solarman.






Versions,,,,,,, (info)
Dependencies base (>=4.6 && <5), cgi (>=3001.1), containers (>=0.5), hsparql (>=0.2), network, pretty (>=1.1), rdf4h (>=1.2), text (>=0.11), XSaiga (>= [details]
License BSD3
Author Dr. Rahmatullah Hafiz, Dr. Richard Frost (, Shane Peelar, Paul Callaghan, and Eric Matthews
Category Parsing, Natural Language Processing, Memoization, ParserCombinators, Attribute Grammars, Text
Home page
Uploaded Mon Nov 21 06:10:44 UTC 2016 by InBetweenNames
Distributions NixOS:
Downloads 676 total (67 in the last 30 days)
1 []
Status Docs not available [build log]
Last success reported on 2016-11-21 [all 3 reports]
Hackage Matrix CI


  • XSaiga
    • XSaiga.AGParser2
    • XSaiga.Getts
    • XSaiga.Interactive
    • XSaiga.LocalData
    • XSaiga.SolarmanTriplestore
    • XSaiga.TypeAg2


Maintainer's Corner

For package maintainers and hackage trustees