Emacs marpa-mode

30 views
Skip to first unread message

Cev Ing

unread,
Nov 20, 2015, 3:48:14 AM11/20/15
to marpa parser
I started hacking on a marpa-mode for Emacs. I am both Marpa grammar newbie and Emacs mode newbie. So don't expect too much. Here you can find it:


And this is how it looks like:


Jeffrey Kegler

unread,
Nov 20, 2015, 4:33:53 PM11/20/15
to Marpa Parser Mailing LIst
Kind of nice the way that the colors distinguish G1 and L0 rules.

--
You received this message because you are subscribed to the Google Groups "marpa parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email to marpa-parser...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Paul Bennett

unread,
Nov 21, 2015, 2:09:46 PM11/21/15
to marpa-...@googlegroups.com
On Fri, Nov 20, 2015 at 4:33 PM, Jeffrey Kegler
<jeffre...@jeffreykegler.com> wrote:

> Kind of nice the way that the colors distinguish G1 and L0 rules.

I haven't played with my TextMate / SublimeText highligher for Marpa
in a long time. I agree it's a nice touch. I'm looking at implementing
the exact same thing right now. Please stand by, as .tmLanguage files
are not entirely for the uninitiated (and it's been a while since I
was initiated).


--
Paul

Paul Bennett

unread,
Nov 21, 2015, 3:17:43 PM11/21/15
to marpa-...@googlegroups.com
On Sat, Nov 21, 2015 at 2:09 PM, Paul Bennett <paul.w....@gmail.com> wrote:

> I'm looking at implementing the exact same thing right now.

https://gist.github.com/PWBENNETT/0e860d907fc59554f1ce

--
Paul

Paul Bennett

unread,
Nov 21, 2015, 3:35:36 PM11/21/15
to marpa-...@googlegroups.com
On Sat, Nov 21, 2015 at 3:17 PM, Paul Bennett <paul.w....@gmail.com> wrote:

> https://gist.github.com/PWBENNETT/0e860d907fc59554f1ce

Ooh, I don't support comments with that. Working on it.


--
Paul

Paul Bennett

unread,
Nov 21, 2015, 3:42:42 PM11/21/15
to marpa-...@googlegroups.com
On Sat, Nov 21, 2015 at 3:35 PM, Paul Bennett <paul.w....@gmail.com> wrote:
>
> Ooh, I don't support comments with that. Working on it.
>

Here, and in its semi-proper location instead of as a gist ...

https://github.com/PWBENNETT/MarpaX-SGML/blob/master/Marpa.tmLanguage


--
Paul

Paul Bennett

unread,
Nov 21, 2015, 3:52:28 PM11/21/15
to marpa-...@googlegroups.com
On Sat, Nov 21, 2015 at 3:42 PM, Paul Bennett <paul.w....@gmail.com> wrote:

> https://github.com/PWBENNETT/MarpaX-SGML/blob/master/Marpa.tmLanguage

And here it is in action:

https://drive.google.com/file/d/0B21ee_I1WzbwNFlVdXE5T2dMQnM/view?usp=sharing

Apologies for the many emails. I'm growing too accustomed to modern
social media, where you can edit and comment and edit your comments,
and so on.


--
Paul

Jeffrey Kegler

unread,
Nov 21, 2015, 4:00:59 PM11/21/15
to Marpa Parser Mailing LIst
No need to apologize.  Much of the traffic has moved over to IRC, so this group has gone for a while with basically just announcements and no discussions.

But your emails are on-topic, and discussions have always been within the charter of this group.

I am against generating traffic just for the sake of ramping up traffic numbers.  But nobody should be reluctant or hesitant to make any on-topic comment or post here.



--
Paul

Reply all
Reply to author
Forward
0 new messages