Erlang/OTP Forums

Author Message

<  Erlyweb mailing list  ~  CodeMirror

Guest
Posted: Thu Jan 17, 2008 7:38 am Reply with quote
Guest
I found this on Roberto's blog:
http://marijn.haverbeke.nl/codemirror/. This in-browser editor is
awesome. Syntax highlighting, indentation, support for multiple
languages.

It would be cool if CodeMirror had an Erlang + ErlTL mode. If it had
it, we could make an in-browser IDE for ErlyWeb applications, like the
one Smalltalk has. It would be great. By navigating to the app's
editor URL, you could hack your application from anywhere. I actually
do a lot of remote development on the Vimagi VPS because Facebook
keeps timing out on me when I run my dev environment on my home
machine. Having this kind of editor would make this kind of hacking
much more pleasant. It would also make it possible to create a
learning environment for newbies, like heroku.com but for ErlyWeb.

Any takers? Smile

Yariv

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Post recived from mailinglist
rsaccon
Posted: Thu Jan 17, 2008 3:03 pm Reply with quote
User Joined: 09 Aug 2006 Posts: 144
I am planning to play a bit more with this editor, and Erlang support
is a great idea.

If anybody want's to start right now, and is not too familiar with
Javascript, let me say a few things.

CodeMirror and its base framework MochiKit (written by Bob Ippolito),
are written in a very Erlang-like way (functional).

You have to write a parser for Erlang (there are example parsers for
Javascript and XML/XHTML) and a CSS file for syntax highlighting. The
good thing is that the Erlang grammar is very simple.

regards
Roberto

On Jan 17, 5:37 am, "Yariv Sadan" <yarivsa...@gmail.com> wrote:
> I found this on Roberto's blog:http://marijn.haverbeke.nl/codemirror/. This in-browser editor is
> awesome. Syntax highlighting, indentation, support for multiple
> languages.
>
> It would be cool if CodeMirror had an Erlang + ErlTL mode. If it had
> it, we could make an in-browser IDE for ErlyWeb applications, like the
> one Smalltalk has. It would be great. By navigating to the app's
> editor URL, you could hack your application from anywhere. I actually
> do a lot of remote development on the Vimagi VPS because Facebook
> keeps timing out on me when I run my dev environment on my home
> machine. Having this kind of editor would make this kind of hacking
> much more pleasant. It would also make it possible to create a
> learning environment for newbies, like heroku.com but for ErlyWeb.
>
> Any takers? Smile
>
> Yariv
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Post recived from mailinglist
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum