Demo Applet for Parser and Generator Components of Notio
Last Modified: 99/02/26
This applet demonstrates the parsing and generating components of
the Notio package for both CGIF and LF.
- Select the input and output formats using the choice boxes at the bottom.
- Type (or paste) a graph expression into the upper text area.
- Press the "Convert" button.
- The input graph will be copied into the lower text area along with
the translation. Any exceptions thrown during parsing or generating will
be displayed in the same area.
- The input and output areas may be cleared by pressing the appropriate
buttons.
This applet requires support for JDK 1.1x including the AWT.
This includes Netscape Communicator 4.06 and higher, and Internet Explorer
4.0 and higher.
The class archive is quite large (approximately 0.5 Mb), please be patient
if you are downloading on a slow link.
The first translation may be slow while the class archive is expanded.
The LF parser is highly restricted at present and the LF generator does
not always produce sensible output.
Here are some sample CGIF and LF expressions which may be copied and pasted into the
input area:
CGIF |
LF |
- []
- [Dog'Molly']
- [Dog*x'Molly'][Man*y'Arthur'](Loves?x?y)
- [Dog*x'Molly'][Man*y'Arthur'][Bone*z](Loves?x?y)(Throws?y?z)(Catches?x?z)
- [Dog*x{'Molly','Alice'}][Man*y'Arthur'](Loves?x?y)
- [Dog*x;This is a comment about this concept][Man*y'Arthur'](Loves?x?y)
- [Man*x'Arthur'][Woman*y'Arthur\'s Wife'](Loves?x?y)(Loves?y?x)
- [Dog*x](Loves?x[Bone])
- [Dog*x][Man*y](Loves?x[Bone*z])(Throws?y?z)
- (Loves[Dog][Bone])
- (Loves[Dog][Bone*x])(Throws[Man]?x)
- [Dog*x][Man*y]<ActsOn?x|?y>
|
- []
- [Man]->(Loves)->[Dog]
- [Man]-
->(Loves)->[Dog]
->(Throws)->[Bone],
|