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

« back to all changes in this revision

Viewing changes to doc/styx-8.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:
351
351
<H2><A NAME="ss8.4">8.4</A> <A HREF="styx.html#toc8.4">Unicode support</A>
352
352
</H2>
353
353
 
354
 
<P>The Styx scanner &amp; parser generator should be able to deal with
 
354
<P>The Styx scanner &amp; parser generator is able to deal with
355
355
unicode based language definitions and scan streams. Since version 1.5 
356
 
each of the released programs support unicode. This capability was added 
357
 
later and isn't yet tested very well.</P>
 
356
each of the released programs support unicode. </P>
358
357
<P>First you have to design the proper grammar. Styx itself doesn't
359
358
accept unicode specifications. You define 
360
359
<A HREF="styx-3.html#unicode literals">unicode tokens and keywords</A>
739
738
with the 
740
739
<A HREF="styx-10.html#styx program">'styx' program</A>. The C++ runtime scanner and parse table classes provide 
741
740
methods to import the exported tables.</P>
742
 
<P>Note, that there are some restrictions regarding the Styx grammar specification. The following features won't be 
743
 
supported by the C++ runtime system:
 
741
<P>Note, that there are some restrictions regarding the Styx grammar specification. For now, the following features 
 
742
won't be supported by the C++ runtime system:
744
743
<UL>
745
744
<LI>
746
745
<A HREF="styx-3.html#indended languages">Indended languages</A></LI>
747
746
<LI>
748
747
<A HREF="styx-3.html#embedded languages">Embedded languages</A></LI>
 
748
<LI>
 
749
<A HREF="styx-3.html#dynamic tokens">Dynamic tokens</A></LI>
749
750
</UL>
750
751
</P>
751
752
<P>Further, there won't be a generated C++ interface to the abstract syntax tree. You have to use the generic C++ 
760
761
<H3>C# Runtime system</H3>
761
762
 
762
763
<P>The source distribution of version 1.7.6 comes with a C# runtime library.
763
 
For now, the C# library contains the module 'StyxScanner.cs' for the construction of scanners. In order to use it with a Styx grammar,
764
 
you first have to specify the grammar and export the scanner with the 
 
764
For now, the C# library contains the module 'StyxScanner.cs' for the construction of scanners. In order to use it with 
 
765
a Styx grammar, you first have to specify the grammar and export the scanner with the 
765
766
<A HREF="styx-10.html#styx program">'styx' program</A>. 
766
767
The C# runtime scanner classes provide methods to import the exported scanner table.</P>
767
768
<P>Similar to the basic Styx system the C# runtime system provides a scanner test program 'StyxScannerTest',