FLex ver 2.3.7 for Commodore Amiga. This patch for Amiga, was made by Anders Hybertz ------------------------------------------------------------------------------ This version of Flex, is for Commodore Amiga. I have changed as few things as possible. You can find the changes in the source code, if you searches the files for <#ifdef AMIGA>. It's compiled under SAS-C 6.2. ------------------------------------------------------------------------------ How to make Flex run on you system: - Just copy 'flex.skel' to your directory and the binary 'FLex', anywhere in your path. - As a test, try FLex on the file . This file is the lexical scanner, that FLex use, written in FLex. To do this write from CLI: > Flex -is8 scan.l FLex then generates the file , if you can compile this file with you c-compiler, you is home. - The Manual for FLex is in the directory. Where else ? - FLex will only start from CLI. ------------------------------------------------------------------------------ READ THIS: - Before you start generate a lot of code, please read the COPYING file. - This distribution of FLex is not written by me, I only changed it to run on Commodore Amiga. - The Makefile (smakefile) for this project was generated automatically by MkMake, a PD program I have written. :-) ------------------------------------------------------------------------------ WHERE TO FIND ME: - If you have any problems whit FLex, please let me now. I can be reached on: InterNet: jeckyl@imada.ou.dk ------------------------------------------------------------------------------ THIS VERSION: - A last I can release this new compiled version of FLex. It's compiled with SAS-C 6.2, and all functions is prototyped, to minimize errors. - Last time I released this version, there was a bug in the 68000 version. This is fixed. - This release only include one version of FLex, which runs on all Motorola chips >= 68000. ------------------------------------------------------------------------------ PS: I didn't write FLex, it's a product under the GNU-license, I just fixed it to run on the Commodore Amiga, without the use of ixemul.library, therefore I had to change/add some lines in the source-code. I don't think I break any copyrights by doing this. All the original code is there. My code/changes can be found between the #ifdef AMIGA ... #endif statements. PPS: The include-files for the prototypes ("xxxxx.i"), don't stand between #ifdef ... #endif statements. Enjoy.