~ubuntu-branches/ubuntu/wily/styx/wily

« back to all changes in this revision

Viewing changes to doc/styx-9.html

  • Committer: Package Import Robot
  • Author(s): Frederik Schüler
  • Date: 2013-12-28 18:20:37 UTC
  • mfrom: (0.1.5)
  • Revision ID: package-import@ubuntu.com-20131228182037-ihsf1de5y1oe24nf
Tags: 2.0.1-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
<P>
27
27
<UL>
28
28
<LI>Mostly disadvantages of the scanner:
29
 
Irregular lexical syntaxes as used in many languages
 
29
Some irregular lexical syntaxes as used in languages
30
30
cannot be scanned. Take Rpg, Fortran or Cobol with
31
31
their columnar lexical syntax as examples.</LI>
32
32
<LI>The parser only supports a one-symbol look-ahead,
39
39
and context-dependent grammar (many do), cannot be
40
40
parsed without extra tricks. Take the "typedef"
41
41
declaration of C together with the application of
42
 
the type name in type denotations as example. Likely
43
 
examples are languages with definable operator
 
42
the type name in type denotations as example. 
 
43
Likely examples are languages with definable operator
44
44
precedences as Algol98 or Prolog for instance.
45
 
Styx provides a few hooks to cope with stuff like this.</LI>
 
45
Styx provides a few hooks to cope with stuff like this,
 
46
since version 2.0.1 the usage of "dynamic" tokens to 
 
47
solve the first mentioned problem.</LI>
46
48
</UL>
47
49
</P>
48
50
 
95
97
derivation tree to the expense that keywords and comments
96
98
are as well lost as source file references.</LI>
97
99
<LI>It is a plug-in replacement.</LI>
98
 
<LI>This format originated as a workaround of some disabilities
 
100
<LI>This format originated as a workaround for some disabilities
99
101
in older versions of Microsoft's memory allocation library.</LI>
100
102
</UL>
101
103
</P>