[Glamour] default selection in ListPresentation
by Cyrille Delaunay
Hello,
Is there a way to set a default selection to a list presentation? so that
when I open the browser, the morphic list has already a value selected.
I tried that:
|tmpBrowser|
tmpBrowser := GLMTabulator new.
tmpBrowser row: #list.
tmpBrowser transmit to: #list; andShow: [:a |
a list
display: [:input | input];
selection: #a;
yourself
].
tmpBrowser openOn: #( b c d v a d f r).
but the list still open with nothing selected
5 years, 2 months
JavaScript to MSE
by Alexandre Bergel
Hi!
Hernán has worked on an Eclipse plugging to produce MSE file from a JavaScript application. It works well.
The plugging is available on:
https://bitbucket.org/hcvazquez/mseexporterjs/wiki/Home <https://bitbucket.org/hcvazquez/mseexporterjs/wiki/Home>
Here is a teaser:
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu <http://www.bergel.eu/>
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
6 years, 7 months
jdt2famix beta
by Tudor Girba
Hi,
I am happy to announce that jdt2famix reached a beta version. I consider that the coverage of entities that we can import is essentially complete.
I am sure there are still edge cases to hunt for (both in terms of error handling and import semantics), and that is what I would like to look at.
So, if you can, now is the time to try again to play again with it :).
Cheers,
Doru
--
www.tudorgirba.com
www.feenk.com
"Don't give to get. Just give."
6 years, 10 months
Re: [Pharo-dev] Ask HN: Examples of elegant, non-trivial Smalltalk? | Hacker News
by Serge Stinckwich
On Fri, Jul 29, 2016 at 2:23 PM, Thierry Goubier
<thierry.goubier(a)gmail.com> wrote:
> Hi Sven,
>
> I'd put RB + SmaCC among the lot. But I consider that really non-trivial :
> the pattern language of RB (and the underlying pattern matching and
> unification algorithm) is top notch, and how SmaCC builds on RB to virtually
> generate code / optimise code / then compile is nothing short of amazing.
>
> SmaCC comes with a pattern matching/unification algorithm over ASTs +
> auto-generation of AST code + visitor + tree equality + the equivalent of
> Flex/Bison(*) + a GUI in 11401 lines of code.
SmaCC deserves definitively more advertisements and should be added to
MOOSE platform I think.
When I see all the buzz around languages workbenches like Rascal:
https://www.youtube.com/watch?v=Ffx7VtEOSx4
with MOOSE+RB+SmaCC+Reflectivity+GTools we are close to these tools
(or even better).
Regards,
--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
6 years, 10 months
still a problem with the debugger...
by Alexandre Bergel
Hi!
Currently, I cannot use the moose image. Some classes are missing.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
6 years, 10 months
A MOOSE open book
by Serge Stinckwich
hi all,
books are successful products of the Pharo community. We have now
something like 5 books and the new Agile Visualisation book should be
out soon.
Can we try to push an open book about MOOSE ? There is already some
materials available here: http://www.themoosebook.org/ but the
contents is quite obsolete now. Can we open it and release the
contents on github ?
Thank you.
--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
6 years, 10 months
[ann] jdt2famix standalone - alpha version
by Tudor Girba
Hi,
I am happy to announce that I now obtained a reasonable first beta stage of a standalone jdt2famix Java importer. This is implemented in Java, it works from the command line and has a similar structure to VerveineJ (the previous solution relied on JNIPort, but that did not scale well due to 32bits and needs rethinking). It is based on FameJava and JDT, and it is available under EPL2. The model is a new Famix version generated out of the Pharo meta-descriptions. To this end, I extended a bit the tool support around Fame and I will follow up with some details one that.
Here is the repository including some basic info:
https://github.com/girba/jdt2famix
The importer was created through fine-grained tests, there are some 100 of them right now, and the coverage of the importer is more than 93%.
However, there are still things to do:
- finish the coverage of the imported entities (see below).
- improve the error handling. As Java has a ton of edge cases, it would be great if you would use it to parse your systems and report possible errors. We would then manufacture test cases out of those.
- check the semantics of the produced data (possibly by comparing with VerveineJ).
- find a better way to package the application.
- integrate in Moose with one click. Ideally, even downloading the application should be doable directly from Moose. The goal here is to make jdt2famix part of the Moose 6 release.
As a deadline, I am targeting August 1 for a beta version, and August 10 for a Moose 6.0 release.
Please let me know what you think, and most importantly please give it a try and provide feedback.
Here is a detailed list of what works and what is left to do:
✓Namespace
✓Type
✓Type without binding
✓Inheritance without binding
✓Interface
✓Parameterizable Class
✓ParameterizedType
✓Method
✓Constructor
✓Visibility (public, private, protected, package)
✓Parameter
✓Method signature
✓Local variable
✓Attribute
✓Anonymous Class
✓Anonymous Class with Parameterized Type
✓Invocation
✓Super invocation
✓Constructor Invocation
✓Super constructor invocation
✓Class instantiation
✓Class initializer
✓Invocation receiver
✓Field read access in invocation receiver
✓Field read access in invocation parameter
✓Field read access in class instantiation
✓Field read access in assignment
✓Field read access in super invocation parameter
✓Field write access in assignment
✓Local write access in assignment
✓Local read access in invocation receiver
✓Local read access in invocation parameter
✓Local read access in super invocation parameter
✓Local read access in super constructor parameter
✓Read access through return
✓Read accesses in: do, while, if, for, switch, enhanced for, conditional (?:)
✓Read access in synchronized
✓Attribute initializer
✓Read access in attribute initializer
✓Read access to qualified enum value
✓Read access to qualified attribute
✓Parentheses
✓Enum
✓EnumValue
✓Array types []
✓AnnotationType
✓AnnotationType attributes
✓AnnotationInstance for types
☐AnnotationInstance for attributes
☐AnnotationInstance for methods
☐AnnotationInstance for parameters
☐Generic Type in Method scope
☐Class reference
☐Inner Class
☐Wildcard types <?>
☐ThrownException
☐CaughtException
☐DeclaredException
☐SourceAnchor
☐Array Access
☐Comments
☐Implicit variables
☐Lambda variables
Cheers,
Doru
--
www.tudorgirba.com
www.feenk.com
"One cannot do more than one can do."
6 years, 10 months