Prev Up Next
Go backward to 1 Introduction
Go up to Top
Go forward to 3 Different formats needed for tools

2 Parser

Two different kinds of parsers have been proposed:

A first experiment has been made by encoding CASL basic specifications with subsorts in Isabelle. After context-free parsing, it is checked that there is just one correct sorting of the atomic formula up to a certain equivalence. For that an overload resolution algorithm is applied to get a fully qualified Abstract Syntax Tree.

A second possibility is to use ASF+SDF to produce a CASL parser.

A third solution is to desin a context-sensitive parser based on the experiment of CIGALE.


CoFI Document: CASL/Tools ---- 20 May 1997.
Comments to cofi-tools@brics.dk

Prev Up Next