Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » MWE2 Fragments for generating highlighting formats for third-party tools
icon3.gif  MWE2 Fragments for generating highlighting formats for third-party tools [message #1737492] Fri, 08 July 2016 15:57 Go to next message
Stéphane Galland is currently offline Stéphane GallandFriend
Messages: 123
Registered: July 2014
Location: Belfort, France
Senior Member
Hi all.

I have written MWE2 fragments for generating from the Xtext grammar a couple of highlighting formats for third-party tools: Google Prettify, LaTeX, Source Highlighting, GTK Source viewer.

The source code is available at: code on Github.Example of MWE2 script.


Enjoy!
Stéphane.

[Updated on: Fri, 08 July 2016 16:29]

Report message to a moderator

Re: MWE2 Fragments for generating highlighting formats for third-party tools [message #1737533 is a reply to message #1737492] Sat, 09 July 2016 10:23 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 08/07/2016 17:57, Stephane Galland wrote:
> Hi all.
>
> I have written MWE2 fragments for generating from the Xtext grammar a
> couple of highlighting formats for third-party tools: Google Prettify,
> LaTeX, Source Highlighting, GTK Source viewer.
>
> The source code is available at:
> https://github.com/sarl/sarl/tree/master/eclipse-sarl/plugins/io.sarl.lang.mwe2/src/io/sarl/lang/mwe2/externalspec
>

It's cool to see a "bridge" with my ol' GNU Source-highlight, probably
my very first open source program :) In my TODO list there's a plan of
reimplement it with Xtext ;)

cheers
Lorenzo

--
Prof. Lorenzo Bettini, Computer Science, DISIA, Univ. Firenze
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: MWE2 Fragments for generating highlighting formats for third-party tools [message #1737534 is a reply to message #1737533] Sat, 09 July 2016 12:03 Go to previous messageGo to next message
Stéphane Galland is currently offline Stéphane GallandFriend
Messages: 123
Registered: July 2014
Location: Belfort, France
Senior Member
Dear Lorenzo.

I'm using your nice tool source-highlight regularly for generating LaTeX documents with my own LaTeX generator, named AutoLaTeX Smile.

cheers.
Stéphane.
Re: MWE2 Fragments for generating highlighting formats for third-party tools [message #1737550 is a reply to message #1737534] Sat, 09 July 2016 18:25 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 09/07/2016 14:03, Stephane Galland wrote:
> Dear Lorenzo.
>
> I'm using your nice tool source-highlight regularly for generating LaTeX
> documents with my own LaTeX generator, named
> https://github.com/gallandarakhneorg/autolatex :).
>
> cheers.
> Stéphane.

I'll surely have a look at that :)

--
Prof. Lorenzo Bettini, Computer Science, DISIA, Univ. Firenze
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Previous Topic:MWE2 Fragments for specifying injections in the MWE2 script
Next Topic:Error markers in the outline
Goto Forum:
  


Current Time: Sat Jul 27 09:06:27 GMT 2024

Powered by FUDForum. Page generated in 0.07773 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top