by Cyrille Delaunay
With nicolas we started to have a look at the eclipse-php-parser (provide
with PDT), to export a famix-mse file from a PHP project. We already started
to build an eclipse plugin that does some work:
=> We create an AST for each php file of the project
=> Then we have a visitor on this ast, and we are therfore able to make a
specific action for each kind of node visited
=> For now, we just export some FAMIXNamespace, FAMIXClass, FAMIXMethods.
So what's left is to implement each visit-method to extract informations
for each node visited. For that we will have to know a bit more PHP :) Maybe
the metamodel will have to be extended to take into account some
PHP-specific elements, I don't know.
If you want to have a look, sources are available via svn at:
Vervaine provide the extractor (not yet finished) for Java ans this one for
PHP. Both are using a common mechanism to generate famix entities and
extract them to mse.
I will be on holidays until august and will probably no longer work on it
until august. So if you want to have a look (and have the courage to install
eclipse to read java code:)), have some suggestions, want to implement
something, feel free to participate :)
11 years, 6 months
Moose for SAS
by Ross Boylan
Some people suggested trying moose for analysis of SAS programs, and I'm
trying to figure out where to start with the meta-modeling.
SAS is not object oriented, though parts of it could be imagined to be.
The main SAS code contains blocks of statements that begin with DATA or
PROC; each block could probably be thought of as a function--to be
precise, the application of a function.
If I want to make some new models, where do I start? FM3? FAMIX?
elsewhere? The 4.0 release announcement says FM3 and FAMIX3 are both
implemented in Fame, so maybe start with Fame? I've read some
documentation, but I can't tell.
My inspiration for the project is understanding how some SAS datasets
were produced. I have a system that creates numerous datasets, which
feed into later datasets, etc. This is split at least across a couple
of program files and it's really too complicated to keep in the brain.
If I get ambitious it would also be useful to trace where particular
variables came from, in the sense of both datasets and individual
The only thing resembling a SAS parser I've run into (except for SAS,
which is closed source) is a Perl module, and it looked relatively
primitive. I've been using PetitParser, and at the point I started
thinking about what it would parse results into.
Thanks for any pointers.
11 years, 12 months
Petit SQL Parser
by Fabrizio Perin
i did implement an SQL parser using Petit Parser. I toke the grammar specification from SQLite http://www.sqlite.org/lang.html . The grammar implemented is not complete, for now i did implement "just" the create table statement, it means that you should be able to parse at least a script for create the database.
The code is in squeaksource http://www.squeaksource.com/@09zbthA-fDDfyUNQ/_OIex3aA .
To download it you can evaluate this:
(Smalltalk at: #ConfigurationOfPetitSQLParser) perform: #loadDefault
in the repository there are several packages: the core contains the parser for the grammar.
In the package parser there is a parser that instantiate some draft objects representing relational elements.
In the next future i will start to implement also other statements.
If you start to use it and you have some problem please let me know.
I was looking at this license stuff yesterday.
Since verveineJ is based on JDT and JDT uses the EPL (Eclipse Public
License), VerveineJ could be required to use the EPL also ...
"According to article 1(b) of the EPL, additions to the original work
may be licensed independently, including under a commercial license,
provided such additions are "separate modules of software" and do not
constitute a derivative work. Changes and additions which do
constitute a derivative work must be licensed under the same terms and
conditions of the EPL, which includes the requirement to make source
"The EPL is approved by the Open Source Initiative (OSI) and listed as
a "free software license" by the Free Software Foundation (FSF)"
Nicolas Anquetil Univ. Lille1 / INRIA-equipe RMod
12 years, 4 months
Question for student report
by (s) Simon Pakijavan
My name is Simon Pakijavan and I am a 3rd year computer science student in the UK writing a report into the applications of Moose.
For my report, it would be useful to research into some of the organisations that use Moose. If you could provide me with the names of some of these organisations, I would be immensely grateful.
12 years, 6 months
debug command in Mondrian
by Alexandre Bergel
Just to let you know that I've been working on a debug command for Mondrian. It opens a visualization that shows you how your view is structured.
Consider the visualization:
Here is the debugging visualization.
Red square are not that are cached with a bitmap. Inner nodes are the presence of a metric cache.
Alexandre Bergel http://www.bergel.eu
12 years, 6 months
Where is OPAX
by Fabrizio Perin
i cannot find anymore OPAX under XML-Parser. After the long discussion about the future of OPAX i guess that at the end OPAX has been move, but where? I cannot see any package related to OPAX into the XML-Support repo. Where i can find the last version of the OPAX packages that have been moved from XML-Parser?
12 years, 6 months