Hi!
I've made some minor improvements on the SmaCC UI I'd like to share. Previous versions block the whole IDE during compilation which prevents you from working on other code for quite some time if the grammar becomes bigger. I've spawned the compilation to a new thread and added Store's activity indicator the UI. The attached source modifies the SmaCC UI version shipped with VW 7.7.1. I think the changes can be easily integrated into version 2.0 from store. I'd like to hear your thoughts on this and would be happy to see these or similar changes in future releases of SmaCC shipped with VW. UI-Improvements: ---------------- - compilation no longer blocks IDE - activity indicator - increased initial window size These modifiactions add a new dependency on StoreBase since it uses StoreProgressOverlay. Have fun! Steffen _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc SmaCC Development UI.st (7K) Download Attachment |
I made a similar change to prevent blocking, and noticed a nasty side-effect: The shift/reduce warnings from the BNF parsing and parser creation were no longer shown. And I thought I'd just got better at writing BNF grammars :-).
AFAIR this was because they were raised as Notifications which were caught by the UI process in the 'Compile LALR' button action method, but with compilation forked there was no longer an error handler around compilation that caught these Notifications. You might want to check that, if you haven't already. Steve > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] On > Behalf Of Steffen Märcker > Sent: 20. kesäkuuta 2011 14:31 > To: vwnc > Subject: [vwnc] SmaCC Development UI Improvements > > Hi! > > I've made some minor improvements on the SmaCC UI I'd like to share. > Previous versions block the whole IDE during compilation which prevents > you from working on other code for quite some time if the grammar > becomes > bigger. I've spawned the compilation to a new thread and added Store's > activity indicator the UI. > The attached source modifies the SmaCC UI version shipped with VW 7.7.1. > I > think the changes can be easily integrated into version 2.0 from store. > I'd like to hear your thoughts on this and would be happy to see these > or > similar changes in future releases of SmaCC shipped with VW. > > > UI-Improvements: > ---------------- > - compilation no longer blocks IDE > - activity indicator > - increased initial window size > > These modifiactions add a new dependency on StoreBase since it uses > StoreProgressOverlay. > > Have fun! > Steffen _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
As far as I remember, all notifications work. Actually my code is inspired
by your hint earlier posted here on vwnc. =) Regards, Steffen Am 20.06.2011, 14:15 Uhr, schrieb Steven Kelly <[hidden email]>: > I made a similar change to prevent blocking, and noticed a nasty > side-effect: The shift/reduce warnings from the BNF parsing and parser > creation were no longer shown. And I thought I'd just got better at > writing BNF grammars :-). > > AFAIR this was because they were raised as Notifications which were > caught by the UI process in the 'Compile LALR' button action method, but > with compilation forked there was no longer an error handler around > compilation that caught these Notifications. You might want to check > that, if you haven't already. > > Steve > >> -----Original Message----- >> From: [hidden email] [mailto:[hidden email]] On >> Behalf Of Steffen Märcker >> Sent: 20. kesäkuuta 2011 14:31 >> To: vwnc >> Subject: [vwnc] SmaCC Development UI Improvements >> >> Hi! >> >> I've made some minor improvements on the SmaCC UI I'd like to share. >> Previous versions block the whole IDE during compilation which prevents >> you from working on other code for quite some time if the grammar >> becomes >> bigger. I've spawned the compilation to a new thread and added Store's >> activity indicator the UI. >> The attached source modifies the SmaCC UI version shipped with VW 7.7.1. >> I >> think the changes can be easily integrated into version 2.0 from store. >> I'd like to hear your thoughts on this and would be happy to see these >> or >> similar changes in future releases of SmaCC shipped with VW. >> >> >> UI-Improvements: >> ---------------- >> - compilation no longer blocks IDE >> - activity indicator >> - increased initial window size >> >> These modifiactions add a new dependency on StoreBase since it uses >> StoreProgressOverlay. >> >> Have fun! >> Steffen vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Hi,
in case you are interested, I've attached a new version that actually disables the SmaCC UI widgets during compilation to prevent user interaction. (Previously they've just been faded out.) Btw, how can I get admission to publish to the public repository? Regards, Steffen Am 20.06.2011, 14:49 Uhr, schrieb Steffen Märcker <[hidden email]>: > As far as I remember, all notifications work. Actually my code is > inspired > by your hint earlier posted here on vwnc. =) > > Regards, Steffen > > > > > Am 20.06.2011, 14:15 Uhr, schrieb Steven Kelly <[hidden email]>: > >> I made a similar change to prevent blocking, and noticed a nasty >> side-effect: The shift/reduce warnings from the BNF parsing and parser >> creation were no longer shown. And I thought I'd just got better at >> writing BNF grammars :-). >> >> AFAIR this was because they were raised as Notifications which were >> caught by the UI process in the 'Compile LALR' button action method, but >> with compilation forked there was no longer an error handler around >> compilation that caught these Notifications. You might want to check >> that, if you haven't already. >> >> Steve >> >>> -----Original Message----- >>> From: [hidden email] [mailto:[hidden email]] On >>> Behalf Of Steffen Märcker >>> Sent: 20. kesäkuuta 2011 14:31 >>> To: vwnc >>> Subject: [vwnc] SmaCC Development UI Improvements >>> >>> Hi! >>> >>> I've made some minor improvements on the SmaCC UI I'd like to share. >>> Previous versions block the whole IDE during compilation which prevents >>> you from working on other code for quite some time if the grammar >>> becomes >>> bigger. I've spawned the compilation to a new thread and added Store's >>> activity indicator the UI. >>> The attached source modifies the SmaCC UI version shipped with VW >>> 7.7.1. >>> I >>> think the changes can be easily integrated into version 2.0 from store. >>> I'd like to hear your thoughts on this and would be happy to see these >>> or >>> similar changes in future releases of SmaCC shipped with VW. >>> >>> >>> UI-Improvements: >>> ---------------- >>> - compilation no longer blocks IDE >>> - activity indicator >>> - increased initial window size >>> >>> These modifiactions add a new dependency on StoreBase since it uses >>> StoreProgressOverlay. >>> >>> Have fun! >>> Steffen > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc SmaCC Development UI.zip (18K) Download Attachment |
Hi,
today I've published my UI improvments over version 1.6 to store. These modifications are not (yet) ported to the new UI of the 2.x branch. In case you give it a try, I'd be interested in your feedback. - compilation in separate thread to enable coding while compiling large grammars - reused store overlay to indicate ongoing compilation - slightly larger window Unfortunately there are some typos in the commit comment ... smile! Regards, Steffen Am 21.06.2011, 14:54 Uhr, schrieb Steffen Märcker <[hidden email]>: > Hi, > > in case you are interested, I've attached a new version that actually > disables the SmaCC UI widgets during compilation to prevent user > interaction. (Previously they've just been faded out.) > Btw, how can I get admission to publish to the public repository? > > Regards, > Steffen > > > Am 20.06.2011, 14:49 Uhr, schrieb Steffen Märcker <[hidden email]>: > >> As far as I remember, all notifications work. Actually my code is >> inspired >> by your hint earlier posted here on vwnc. =) >> >> Regards, Steffen >> >> >> >> >> Am 20.06.2011, 14:15 Uhr, schrieb Steven Kelly <[hidden email]>: >> >>> I made a similar change to prevent blocking, and noticed a nasty >>> side-effect: The shift/reduce warnings from the BNF parsing and parser >>> creation were no longer shown. And I thought I'd just got better at >>> writing BNF grammars :-). >>> >>> AFAIR this was because they were raised as Notifications which were >>> caught by the UI process in the 'Compile LALR' button action method, >>> but >>> with compilation forked there was no longer an error handler around >>> compilation that caught these Notifications. You might want to check >>> that, if you haven't already. >>> >>> Steve >>> >>>> -----Original Message----- >>>> From: [hidden email] [mailto:[hidden email]] On >>>> Behalf Of Steffen Märcker >>>> Sent: 20. kesäkuuta 2011 14:31 >>>> To: vwnc >>>> Subject: [vwnc] SmaCC Development UI Improvements >>>> >>>> Hi! >>>> >>>> I've made some minor improvements on the SmaCC UI I'd like to share. >>>> Previous versions block the whole IDE during compilation which >>>> prevents >>>> you from working on other code for quite some time if the grammar >>>> becomes >>>> bigger. I've spawned the compilation to a new thread and added Store's >>>> activity indicator the UI. >>>> The attached source modifies the SmaCC UI version shipped with VW >>>> 7.7.1. >>>> I >>>> think the changes can be easily integrated into version 2.0 from >>>> store. >>>> I'd like to hear your thoughts on this and would be happy to see these >>>> or >>>> similar changes in future releases of SmaCC shipped with VW. >>>> >>>> >>>> UI-Improvements: >>>> ---------------- >>>> - compilation no longer blocks IDE >>>> - activity indicator >>>> - increased initial window size >>>> >>>> These modifiactions add a new dependency on StoreBase since it uses >>>> StoreProgressOverlay. >>>> >>>> Have fun! >>>> Steffen >> _______________________________________________ >> vwnc mailing list >> [hidden email] >> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |