From: Rildo P. <rpr...@ac...> - 1999-12-07 00:02:13
|
Hi David, Ok. I was tired of trying to make "inspect" work and decided to give a try on your problem with large arrays. Now the size is stored with a ".long", so instead of 65536, it allows a maximum record of 4294967296 bytes. (according to my 'bc' calculator :) All the "inspect" stuff in the compiler is wrong. I think I will have a break with this thing. When I try to make according the standard, the parser generates 41 reduce/reduce conflicts. Of course, it will not compile correct code for most statements in this way. Some hacking needed here! (I'm tired of adding state swithces to the scanner) I have looked at Josling's parser too, but found nothing I can use straight here. I hope you're glad with the large arrays. If so, at least something I've done will not be thrown away today. regards, ---------------------------------------------------------------- Rildo Pragana FPGA/uControllers * Linux * tcl/tk P.O. Box 721 Camaragibe PE http://members.xoom.com/rpragana Brazil 54792-990 +55-81-459-1776 |