In Avispa and Adore/S we created small meta models that reason on software processes (task, role and artifact) and business processes.
This is done without extending Famix then. So, if you're looking for some arguments for using Moose for other things than analyzing source code, then you have some examples.
Alexandre Bergel http://www.bergel.eu
I have a narrow question and a broader one.
The narrow question is how to get SmaCC into the prepackaged moose
I tried to file in SmaCCDev-lr.23.mcz from squeak source (version 24 is
for Pharo 1.1, which I don't think the moose image is using). It failed
because it needed SmaCCParser and SmaCCScanner classes.
http://www.squeaksource.com/SmaccDevelopment.html says the run time is
already in the image; perhaps it's been stripped out?
The broader question is whether anyone has any advice on approaching my
problem of parsing SAS files. Advice could be pointers to other
lexer/scanners or the news that PEG (i.e., PetitParser) works OK for my
purposes (I may want to use it for the parsing, but this is about
dealing with the macro language).
To give a taste of the detailed issues: a macro variable reference, &V,
can occur almost anywhere in a SAS program (but not inside of some
comments and some quotes). It is immediately expanded; this may occur
in the middle of what looks like a token, e.g.
(1) data run&V;
(2) data run04 (start=5);
In perverse cases one could even have
become (2), including the semicolon.
Macro variables obey scoping rules.
There are also macro invocations like %mymacro(3, abc) which expand at
the closing parenthesis. %INCLUDE brings a whole file into the source.
And the macro language itself has conditional and looping constructs.
As an added bonus, SAS macros are not simple preprocessors, since their
expansion can depend on information obtained in the main language at
runtime (in fact, macros can be written at run time). It's unlikely
I'll ever attempt to handle that case, however.
Essentially, there are 2 or 3 different syntaxes operating in the same
program (the main syntax, the macro language, and the expansion of macro
variables via &). This was the setup for the initial Conway paper on
coroutines. I don't currently see any gain from using coroutines.
I play with Moose in Pharo1.2. It seems that a removed model is always in memory.
- I loaded Pharo in moose, my image grows and its size is 320Mo.
- I removed the model, then my image size should be 100Mo, but it is still 320Mo.
Can anyone reproduce it ?
How can I debug it ? Is there a pointerFinder in Pharo ?
I guess it can be interested for you also.
ESUG will be happy if you help to do some buzz about the conference.
Forwarding emails to other mailing lists, post in your blogs, twitter,
facebook, etc, always help. It would be great to expand the community and
forward this email to other communities like ruby, python, linux, etc....
For more details: http://www.esug.org/Conferences/2010
---------- Forwarded message ----------
From: stephane ducasse <stephane.ducasse(a)free.fr>
Date: Mon, Jul 12, 2010 at 10:40 AM
Subject: [Seaside] Looking for smart and good programmers? Attend the
premium conference on Smalltalk!
To: Seaside - general discussion <seaside(a)lists.squeakfoundation.org>
We are all looking for smart and good people...
Now the best to get in touch with them is to go where they go and have a
nice beer with them.
Did you think about coming to ESUG the key world conference on Smalltalk to
meet talented people?
Did you think about sponsoring ESUG so that programmers get aware of your
Regularly we pass job interview at ESUG. Why not you?
Each year ESUG offers the possibility to young guys to participate to ESUG
as student volunteers you
can also come and talk to them.
Amsterdam 170 participants
The dead-line for registration at early bird fees is approaching (one month
So, hurry up and register on our new seaside-based server.
This server comes with new features.
You can now do a group registration and make a single payment.
Also, we have reduction tickets (typically for Golden and Platinum
The ESUG 2010 conference program is about to be ready, and it is as
promising as was for the previous editions of the conference.
Checkout the preliminary schedule is already on the web,
See you in Barcelona,
seaside mailing list
I just run the mondrian benchmarks. For archive.
Thanks to your bug reports, I fixed a number of problems when displaying edges. We are now significantly faster when displaying edges.
We had " 300 edges => 134138 ms" on April 6, 2010.
Report produced on 2010-07-09T11:27:57+02:00
Benchmark ManyNode (simple rendering of nodes) :
100 nodes => 7 ms
200 nodes => 12 ms
300 nodes => 17 ms
400 nodes => 24 ms
500 nodes => 29 ms
600 nodes => 35 ms
700 nodes => 40 ms
800 nodes => 47 ms
900 nodes => 53 ms
1000 nodes => 58 ms
1600 nodes => 93 ms
3200 nodes => 187 ms
6400 nodes => 371 ms
Benchmark ManyEdges (simple rendering of edges) :
10 edges => 2 ms
20 edges => 9 ms
30 edges => 22 ms
40 edges => 41 ms
50 edges => 70 ms
60 edges => 110 ms
70 edges => 164 ms
80 edges => 235 ms
90 edges => 324 ms
100 edges => 435 ms
200 edges => 5151 ms
300 edges => 37560 ms
Benchmark ManyInnerNodes :
5 nodes => 176 ms
10 nodes => 2267 ms
15 nodes => 11122 ms
Benchmark Displaying ManyInnerNodes :
5 nodes => 172 ms
10 nodes => 937 ms
15 nodes => 7937 ms
Benchmark Displaying ManyInnerNodesAndEdges :
1 nodes => 11 ms
2 nodes => 240 ms
3 nodes => 3241 ms
4 nodes => 31246 ms
Benchmark Displaying elementAt :
100 nodes => 3 ms
500 nodes => 5 ms
1000 nodes => 8 ms
1500 nodes => 10 ms
2000 nodes => 14 ms
2500 nodes => 16 ms
Alexandre Bergel http://www.bergel.eu
I'm trying to execute Moose Tool with Distribution Map, but I can't. I didn't find a tutorial or example emphasizing the use of this tool.
I would like to test Distribution Map with other applications. Would you can give me more informations about how to install and execute the Moose tool with Distribution Map?
Thanks a lot.
Hotmail: Free, trusted and rich email service.
Hi Doru, all,
I have 2 quick Glamour questions:
- how can I have a text (GLMTextPresentation) that is read-only, preferably with a grey background, so that it looks like a label or status line ?
- how do I programatically close the browser, e.g. from within a button in the browser itself?
Thanks in advance!
jfabry(a)dcc.uchile.cl - http://dcc.uchile.cl/~jfabry
PLEIAD Lab - Computer Science Department (DCC) - University of Chile
Is there a way to ask Mondrian to redraw itself when the structure of nodes has changed.
I have a view with some options. When an option is activated, it actually adds new nodes to the view, hence the layout needs to be computed again.
I tried 'view updateWindow' but it does not work.