Commit Graph

3133 Commits

Author SHA1 Message Date
Ron Pinkas
9de1dac58e 2000-07-13 07:45 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.slx
     * Corrected premature release of MACROTEXT
2000-07-13 14:45:21 +00:00
Ron Pinkas
531c38c9f8 2000-07-12 20:45 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.slx
     * Corrected support for PARAMETERS
     + Added type casts to allow c++ mode compilation

   * source/compiler/simplex.c
     - Removed unused vars.
     + Added type casts to allow c++ mode compilation
2000-07-13 03:45:45 +00:00
Maurilio Longo
789524d5bc 20000712-22:03 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-07-12 20:12:27 +00:00
David G. Holm
826056e8aa 2000-07-12 14:05 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-07-12 18:10:44 +00:00
Alexander S.Kresin
13db599ecf 2000-07-12 21:41 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2000-07-12 17:53:38 +00:00
David G. Holm
753c7cc298 2000-07-12 12:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-07-12 16:41:36 +00:00
Maurilio Longo
c4dfba86e4 20000712-18:18 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-07-12 16:26:03 +00:00
Alexander S.Kresin
c059f62fa0 2000-07-12 16:08 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2000-07-12 12:09:31 +00:00
Luiz Rafael Culik
8115aed96b See changelog 20000712-06:50 GMT -3 2000-07-12 09:57:27 +00:00
Luiz Rafael Culik
074ab5d238 See changelog 20000712-06:30 GMT -3 2000-07-12 09:31:20 +00:00
Luiz Rafael Culik
805da1fa94 See changelog 20000712-06:30 GMT -3 2000-07-12 09:24:19 +00:00
Ryszard Glab
edf09af041 ChangeLog 2000-07-12 10:25 UTC+0100 2000-07-12 08:45:04 +00:00
Ryszard Glab
7f4edde7c8 ChangeLog 2000-07-12 10:25 UTC+0100 2000-07-12 08:19:34 +00:00
Viktor Szakats
03a42732f2 2000-07-12 08:46 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-12 07:29:10 +00:00
Viktor Szakats
7a5701da69 2000-07-12 08:46 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-12 07:29:09 +00:00
Ron Pinkas
fc355a3bac 2000-07-11 09:30 UTC+0800 Ron Pinkas <ron@profit-master.com>
* hb_slex.bc
     * Updated to match makefile.bc

   * source/compiler/harbour.l
   * source/compiler/harbour.c
     - Removed refrences to hb_compReleaseStrings()

   * source/compiler/harbour.slx
     * Changed identifier reuse logic to use hb_compIdentifierNew()
2000-07-11 16:48:10 +00:00
Ryszard Glab
1ceccebaf4 ChangeLog 2000-07-11 12:00 UTC+0100 2000-07-11 11:02:16 +00:00
Ryszard Glab
92a79c5e6d ChangeLog 2000-07-11 12:00 UTC+0100 2000-07-11 10:24:27 +00:00
Ron Pinkas
de70fac98b 2000-07-10 20:25 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hbcomp.h
   * source/compiler/harbour.y
   * source/compiler/hbgenerr.c
     - Removed hb_comp_szFile

   * source/compiler/harbour.slx
     * Reduced aStrings and YY_BUF_SIZE to 2048

   * source/compiler/simplex.c
     + Added RTL license exception.
2000-07-11 03:29:43 +00:00
Luiz Rafael Culik
f76ecd76eb *** empty log message *** 2000-07-11 01:18:46 +00:00
Luiz Rafael Culik
7b1115ddbb See changelog 20000710-22:20 GMT -3 2000-07-11 01:17:04 +00:00
Ryszard Glab
d142ce7a92 ChangeLog 2000-07-10 19:55 UTC+0100 2000-07-10 17:54:03 +00:00
Alexander S.Kresin
d0470c211b 2000-07-10 13:05 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2000-07-10 09:30:29 +00:00
Ryszard Glab
24a16531ea ChangeLog 2000-07-10 11:10 UTC+0100 2000-07-10 09:03:42 +00:00
Ron Pinkas
1d9fdf35aa 2000-07-09 01:02 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hbcomp.h
     + Added: external BOOL hb_comp_bSimpLex

   * source/compiler/harbour.c
     + Added: BOOL hb_comp_bSimpLex
     + Added: if( hb_comp_bSimpLex ) tests before releasing name strings of vars, and symbols.
     + Added: call to hb_compReleaseStrings(), if hb_comp_SimpLes is TRUE, after code generation.

   * source/compiler/harbour.slx
     + Added: logic to resuse same allocated strings when string for identifier was perviously allocated.
     + Added: INIT_ACTION macro to set hb_comp_bSimpLex to TRUE.
     + Added: Function hb_compReleaseStrings()

   * source/compiler/harbour.l
     + Added: empty Function hb_compReleaseStrings() to avoid link error.

   * source/compiler/hbslex.c
   * source/compiler/simplex.c
     * Moved standard #includes from simplex to hbslex.
2000-07-09 08:34:21 +00:00
Ron Pinkas
8d1cb942ee 2000-07-08 19:50 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source\compiler\simplex.c
  * source\compiler\harbour.slx
    * Short term copies dynamic memory copies of yytext are being released at <EOL>.
2000-07-09 02:50:37 +00:00
Luiz Rafael Culik
e220de08b1 See changelog 20000708-22:00 GMT -3 2000-07-09 01:07:35 +00:00
Luiz Rafael Culik
03e931e94b See changelog 20000708-22:00 GMT -3 2000-07-09 01:01:20 +00:00
Ron Pinkas
0f31168af5 2000-07-08 15:10 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source\compiler\simplex.c
    * Improved handling of WhiteSpace, NewLine, and Eof.

  * source\compiler\harbour.slx
    + Added rule to return only last CR in sequence of empty lines.
2000-07-08 22:15:46 +00:00
Ryszard Glab
2440c7a2d4 ChangeLog 2000-07-08 10:40 UTC+0100 2000-07-08 08:33:37 +00:00
Ron Pinkas
0ffa8abdf3 commented SHOW_TOKENS in harbour.slx 2000-07-08 00:51:49 +00:00
Ron Pinkas
029d259d42 2000-07-07 17:30 UTC+0800 Ron Pinkas <ron@profit-master.com>
- include\harbour.slx
  - source\compiler\harbourl.c

  + b32_slex.bat
  + hb_slex.bc

  + source\compiler\hbslex.c
  + source\compiler\simplex.c
  + source\compiler\harbour.slx

Created ChangeLog entry.
2000-07-08 00:32:50 +00:00
Ron Pinkas
0f6294e523 - include\harbour.slx
- source\compiler\harbourl.c

  + b32_slex.bat
  + hb_slex.bc

  + source\compiler\hbslex.c
  + source\compiler\simplex.c
  + source\compiler\harbour.slx
2000-07-08 00:27:47 +00:00
Ryszard Glab
70b7ca95b8 ChangeLog 2000-07-07 10:30 UTC+0100 2000-07-07 08:26:43 +00:00
Ignacio Ortiz de Zuniga
e1c92ae5c8 *** empty log message *** 2000-07-06 12:13:51 +00:00
Ignacio Ortiz de Zuniga
148596f4fa *** empty log message *** 2000-07-06 11:57:58 +00:00
Ron Pinkas
46b60bd946 2000-07-05 23:55 UTC+0800 Ron Pinkas <ron@profit-master.com>
+ source\include\harbourl.slx
   + source\compiler\harbourl.c
     This is a propoesed new Generic Lexer (SimpLex) that along with language definition file (Harbour.slx) consititue
     the proposed new Harbour Lexer. It is about half the size of the Flex Lexer and Harbour.exe is about 60K smaller.
     This might help with 16bit mode and or memory limited situations. It belive it offers few benefits over Flex:
        Simplicity, Readability, and Consitency of the rules.
	More elegant look ahead/parsing capabilities.
	Does not require a 3rd party tool (the Tokens & Rules table, is inserted into the Lexer by means of an #include directive.
	it doesn't need to be "compiled" like the Flex.exe produces harbourl.c from harbour.l.
	It is much smaller than the Flex generated Lexer.
     Please note it is not yet optimized for speed, I would love to get your input/suggestion (Ryszard, Victor, Paul, ...).
     In the process of resaerching the Lex phase I found many "problems" and tried to address them all. It now compiles
     the full build including keywords.prg (3 compiler (yacc) errors), our previous lexer didn't fully parse keywords.prg
     Please forward your opinions...
2000-07-06 07:11:27 +00:00
Ron Pinkas
758e044984 Added proposed new Lexer files harbour.slx and harbourl.c 2000-07-06 06:51:57 +00:00
Viktor Szakats
bb8090fbc7 2000-07-04 20:36 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-04 18:32:09 +00:00
Alexander S.Kresin
64f8abb625 2000-07-24 13:59 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2000-07-04 12:36:28 +00:00
Alexander S.Kresin
3dfd022b33 2000-07-24 13:59 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2000-07-04 09:59:33 +00:00
Viktor Szakats
231eb3df5b 2000-07-04 04:05 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-04 02:12:45 +00:00
Viktor Szakats
2c91d1385e 2000-07-04 04:05 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-04 02:05:28 +00:00
Ryszard Glab
6d13e23d68 ChangeLog 2000-07-03 20:00 UTC+0100 2000-07-03 17:53:40 +00:00
Ryszard Glab
3f5ff1c0f0 ChangeLog 2000-07-03 13:40 UTC+0100 2000-07-03 11:35:11 +00:00
Ryszard Glab
38411220a9 ChangeLog 2000-07-03 11:40 UTC+0100 2000-07-03 09:35:57 +00:00
Ryszard Glab
3240600248 ChangeLog 2000-06-02 12:30 UTC+0100 2000-07-02 10:25:51 +00:00
Paul Tucker
18bdab86e1 Changelog 2000-07-01 23:55 UTC-0500 ptucker 2000-07-02 03:54:26 +00:00
Ryszard Glab
6b2a523c96 ChangeLog 2000-06-30 08:50 UTC+0100 2000-06-30 06:44:25 +00:00
Ryszard Glab
8a8386d996 ChangeLog 2000-06-28 10:50 UTC+0100 2000-06-29 08:46:02 +00:00