Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [epsilon-dev] Re-building Epsilon grammar

Hi Sina,

Have you followed the instructions in [1]?

- If you wish to modify the parsers (syntax) of Epsilon languages you
also need to clone the following repository next to Epsilon's Git
repository on your machine:
https://github.com/epsilonlabs/epsilon-antlr-dev.git
- To modify e.g. the EVL parser, you need to change Evl.g and/or
EvlParserRules.g. To re-generate the parser you need to run
build-evl-parser.xml as an Ant build.
- Since all Epsilon languages extend EOL, if you modify the EOL
parser, you'll then need to run build-all-eol-dependent-parsers.xml

Cheers,
Dimitris

[1] https://www.eclipse.org/epsilon/doc/articles/running-from-source/
On Thu, 1 Nov 2018 at 12:05, arcanefoam@xxxxxxxxx <arcanefoam@xxxxxxxxx> wrote:
>
> Hi,
>
>> which requires modifying the lexer and parser
>
>
> and the execution e engine too ;).
>
>> However the ANT builds in the org.eclipse.epsilon.eol.parse package seem to not have been updated so they don’t work.
>
>
> There is an open bug[1] related to the use of antlr, perhaps you can look at this while at it if it is related.
>
> Cheers,
>
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=464793
>
> On Thu, Nov 1, 2018 at 11:38 AM Sina Madani <sinadoom@xxxxxxxxxxxxxx> wrote:
>>
>> Hi everyone,
>>
>>
>>
>> I’m trying to add support for lambda expressions and ternary syntax in EOL, which requires modifying the lexer and parser (currently, first-order operation expressions do not allow for parameterless lambdas). However the ANT builds in the org.eclipse.epsilon.eol.parse package seem to not have been updated so they don’t work. Does anybody know how to update these ANT tasks or if there is an alternative way to generate the grammar?
>>
>>
>>
>> Thanks,
>>
>> Sina
>>
>>
>>
>>
>>
>> _______________________________________________
>> epsilon-dev mailing list
>> epsilon-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/epsilon-dev
>
> _______________________________________________
> epsilon-dev mailing list
> epsilon-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/epsilon-dev



-- 
Dimitris Kolovos
Professor of Software Engineering
Department of Computer Science
University of York
http://www.cs.york.ac.uk/~dkolovos

EMAIL DISCLAIMER http://www.york.ac.uk/docs/disclaimer/email.htm


Back to the top