source: other-projects/rsyntax-textarea/devel-packages/jflex-1.4.3/examples/standalone/README@ 25584

Last change on this file since 25584 was 25584, checked in by davidb, 12 years ago

Initial cut an a text edit area for GLI that supports color syntax highlighting

File size: 411 bytes
Line 
1This is a small example of a standalone text substitution scanner.
2
3It reads a name after the keyword name and replaces all occurences
4of "hello" by "hello <name> !".
5
6sample.inp
7 contains a sample input for the scanner
8
9standalone.flex
10 the lexical specification for the scanner
11
12build.xml
13 ant build file
14
15to run the example use ant or type:
16
17jflex standalone.flex
18javac Subst.java
19java Subst sample.inp
20
Note: See TracBrowser for help on using the repository browser.