Commit Graph

3115 Commits

Author SHA1 Message Date
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
Luiz Rafael Culik
c481368144 *** empty log message *** 2000-06-29 02:22:03 +00:00
Luiz Rafael Culik
e775f6d3dc See changelog 20000628-23:20 GMT -3 2000-06-29 02:18:07 +00:00
Ryszard Glab
df9fab8ad8 ChangeLog 2000-06-27 11:10 UTC+0100 2000-06-28 09:03:55 +00:00
Luiz Rafael Culik
246bf36f8a See changelog 20000627-22:5 GMT -3 2000-06-28 02:00:05 +00:00
Luiz Rafael Culik
960c6765cb See changelog 20000627-22:45 GMT -3 2000-06-28 01:42:36 +00:00
Ryszard Glab
94eb133666 ChangeLog 2000-06-26 19:20 UTC+0100 2000-06-27 17:15:56 +00:00
Ron Pinkas
112c645f5f Corrected typo in ChangeLog 2000-06-27 03:21:50 +00:00
Ron Pinkas
b76f7c9ef5 2000-06-26 20:11 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>
* source/pp/ppcomp.c
     ! Fixed line number to ignore empty lines in #include files,when resuming parent file.
2000-06-27 03:17:31 +00:00
Alexander S.Kresin
81511f14d2 2000-06-26 23:05 GMT+3 Alexander Kresin 2000-06-26 19:16:57 +00:00
Ron Pinkas
5f871ca7b3 2000-06-26 06:22 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
     ! Fixed 3 typos that made strings to be compiled with the closing string delimiter, causing Run-Time error 9004.
2000-06-26 13:27:54 +00:00
Ignacio Ortiz de Zuniga
8630299961 *** empty log message *** 2000-06-26 12:40:48 +00:00
Ignacio Ortiz de Zuniga
7db73cb4f5 *** empty log message *** 2000-06-26 12:34:22 +00:00
Alexander S.Kresin
092b5a900b Changelog 2000-06-26 11:27:28 +00:00
Alexander S.Kresin
c9f07c5672 source/pp/ppcore.c 2000-06-26 11:24:17 +00:00
Chen Kedem
929b0150df 2000-06-26 08:55 UTC+0300 Chen Kedem <niki@actcom.co.il> 2000-06-26 06:11:37 +00:00
Brian Hays
eda217e131 *** empty log message *** 2000-06-26 05:47:15 +00:00
Brian Hays
1ebd0b679b 2000-06-25 10:24 UTC+0800 Brian Hays <bhays@abacuslaw.com> 2000-06-26 05:30:44 +00:00
Ron Pinkas
4f5dd5cb17 2000-06-25 22:14 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
     + Added rule for orphan "]"
     * Monor improvments to INDEX

   * source/compiler/hbgenerr.c
     * Minor improvements

   * source/pp/ppcomp.c
     ! Corrected line number was adding EmptyLines twice.
2000-06-26 05:30:43 +00:00