[ANN] SmaCC Development 1.2 now on SqueakMap

Markus Gaelli gaelli at emergent.de
Mon Mar 31 17:54:42 UTC 2003


Hi,

I finally managed to put up the fixed version of Alain on SqueakMap,
SourceForge wanted to know an OSI-approved license,
before I could start a project there, so I kept the sources
on my emergent.de ftp-site. :-/

Actually this is a good reason to have something like SourceForge on 
our own,
or to have an approved license, though I don't want to restart that 
discussion here...

Thanks to Alain Plantec, Marcus Denker and Jesse Welton.
As we can now both accept in the Scanner/Parser-Page, which gives us
direct feedback if any error occured, or autoaccept, when moving
to the other page but without having direct feedback,
we don't need the changeset of Jesse any more.

 From the version-info:

New changes from Alain Plantec:

- both possibilities for scanner/parser code verifying: on code pane or 
by compiling scanner/parser
- window is now labelled with the scanner/parser names (useful when 
playing with severals smacc windows)
- if not empty, test pane become unaccepted when compiling 
scanner/parser (it only enable alt-s accept again)
- bug fix : whenever an error occur (scanner, parser and test  pane), 
error message is now really selected on the code pane
- all panes have a classical contextual menu (middle button), now  you 
can  accept, cancel etc.
- one can read/write file from all code panes (middle button menu)
- some other controls have been inserted

New changes from Marcus Denker:

- SmaCC can be opened from the World-Menu

Known bugs:

- The "find" problem is not fixed.
Alain has observed the same problem with a BookMorph.
and has already asked that question to the list:

> I'm working on smacc gui and I've found bugs in the "find" (alt-f) 
> fonctionality.
> maybe someone could help me?
>
> 1)
>    When finding text on a BookMorph, an  "errorSubscriptBounds: index 
> " signal occur.
>    One can test it with the SmaCCParserGenerator gui for example 
> (which use TabbedPalette)
>    It seems that it is the "findText:" method reponsibility:
>    in findText:, replacing
>        "allText _ self valueOfProperty: #allText ifAbsent: [#()]." with
>                                                                        
>                      ^^
>        "allText _ self valueOfProperty: #allText ifAbsent: [set 
> getAllText]."
>                                                                        
>                      ^^^^^^^^^^^^
>    allow  searching, but then the first match is not highlighted.
>   2)
>    in a BookMorph, "find" behavior could be described as follow :
>        search next match on current page, if not found, search on next 
> page.
>   I think this behavior is not the good one on SmaCC, for example.
>   I would like "find" to search text only on current page :
>        A search on scanner page should not swap to Parser page.
>
>    Maybe is shows that there are two fonctionalities here :
>        (1) find text on current page and (2) find text on all pages.
>   3)
>    On TabbedPalette, with current behavior, when a page change occur 
> with find,
>    the new current page  corresponding button is not updated :
>        I'am on scanner page, scanner page button is highlighted. I do 
> a search and a page swap occur.
>        Now I am on the parser page but the scanner button remain 
> highlighted.

Can anybody help there?

Enjoy,

Markus



More information about the Squeak-dev mailing list