On Thu, Mar 11, 2010 at 9:44 PM, Javier Pimás <elpochodelagente at gmail.com>wrote:
> Hi! Recently I discovered that there is a parser project called SmaCC. I
> don't know if it works, but I think it includes parsers for C, Java and
> Smalltalk, do you know/did you try it?
>
Thanks, but no thanks :-)
I know SmaCC exists, but I never use parser generators. In Newspeak we use
parser combinators, which is a much nicer approach. There is a Smalltalk
version of the parser combinator library as well as a Newspeak one.
Making parsers is easy if you have the correct grammar.
There is of course something to be said for a ready made parser if it exists
- but you have to be confident it is correct, and you become dependent on
the framework it uses.
>> Regards,
> Javier.
>> 2010/3/11 John M McIntosh <johnmci at smalltalkconsulting.com>
>>> Ah, well I can also help eliot on this, sometimes he gets too busy... plus
>> I want to ensure the objective-c binding happens.
>>>> On 2010-03-11, at 11:26 AM, Gilad Bracha wrote:
>>>> Hi Mariano,
>>>> I'm pretty sure you mean to list Eliot as the co-mentor or mentor on this
>> one. If anyone got stuck and asked my help, I would end up bugging Eliot
>> anyway. And he did agree.
>>>>>>>> On Thu, Mar 11, 2010 at 10:18 AM, Mariano Martinez Peck <
>>marianopeck at gmail.com> wrote:
>>>>> Tomorrow morning we will be submitting...so, for this project, we only
>>> have this proposal:
>>>>>> Work on a cross-dialect foreign function call interface and implement it
>>> in at least two dialects. Candidates include Alien and GNU Smalltalk's
>>> CObject (using existing implementation has the advantage of having to
>>> implement in only _one_ other dialect!). Bonus points for implementing a C
>>> parser that would be able to construct bindings. GNU Smalltalk already
>>> contains a C preprocessor implementation.
>>> There is some support for parsing C headers in the Newspeak system.
>>> Aliens have been ported to Strongtalk as well as Squeak.
>>>>>> The mentor will be John McIntosh and Gilad Brancha co-mentor.
>>>>>> Can this proposal be more complete and have similar structure to the rest
>>> ? If true, send me the proposal.
>>>>>> Check http://gsoc2010.esug.org/ideas.html>>>>>> Cheers
>>>>>> Mariano
>>>>>> --
>> Cheers, Gilad
>>>>>> --
>>>> ===========================================================================
>> John M. McIntosh <johnmci at smalltalkconsulting.com> Twitter:
>> squeaker68882
>> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com>>>> ===========================================================================
>>>>>>>>>>>> _______________________________________________
>> Pharo-project mailing list
>>Pharo-project at lists.gforge.inria.fr>>http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project>>>>>> --
> Javier Pimás
> Ciudad de Buenos Aires
>
--
Cheers, Gilad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100311/3f6151a4/attachment.htm