re2c lesson 001_upn_calculator, (c) M. Boerger 2006
-This lesson gets you started with re2c. In the end you will have an easy UPN
-calculator for use at command line.
+This lesson gets you started with re2c. In the end you will have an easy RPN
+(reverse polish notation) calculator for use at command line.
You will learn about the basic interface of re2c when scanning input strings.
How to detect the end of the input and use that to stop scanning in order to
-------------------------------------------------------------------------------
-For windows users Lynn Allen provided some additional stuff to get you started
+For windows users Lynn Allan provided some additional stuff to get you started
in the Microsoft world. This addon resides in the windows subdirectory and
gives you something to expereiment with. The code in that directory is based
on the first step and has the following changes:
* If you want to build the other steps of this lesson using windows tools
simply copy the *.re files into the windows directory as main.re and rebuild.
+
+
+-------------------------------------------------------------------------------
+Sidenote: UPN is the german translation of RPN, somehow hardcoded into the
+authors brain :-)
/* Generated by re2c */
#line 1 "main.b.re"
-/* re2c lesson 001_upn_calculator, main.b.re, (c) M. Boerger 2006 */
+/* re2c lesson 001_upn_calculator, main.b.re, (c) M. Boerger, L. Allan 2006 */
#line 43 "main.b.re"
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
-/* re2c lesson 001_upn_calculator, main.b.re, (c) M. Boerger 2006 */
+/* re2c lesson 001_upn_calculator, main.b.re, (c) M. Boerger, L. Allan 2006 */
/*!ignore:re2c
- basic interface for string reading