Erlang Mailing Lists

Author Message

<  Yaws mailing list  ~  ErlTL

Guest
Posted: Tue Oct 17, 2006 6:42 pm Reply with quote
Guest
(I'm forwarding this message I sent to erlang-questions because it's
probably especially relevant for Yaws users)

Hi,

I created a simple template language called ErlTL that makes it easy
to embed Erlang expressions in large amounts of textual binary data.
It compiles template files into .beam files for good performance, and
it gives line-precise error reporting. For more information, visit

http://yarivsblog.com/articles/2006/10/17/introducting-erltl-a-simple-erlang-template-language

You can get it here

http://code.google.com/p/erltl

Please let me know if you have any problems or suggestions!

Thanks
Yariv

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
rsaccon
Posted: Fri Oct 20, 2006 6:12 pm Reply with quote
User Joined: 09 Aug 2006 Posts: 144
has anybody started already to use ErlTl for web development ?

I haven't done yet, but I plan to do so soon, but maybe some one has
already experiences to share:

- How does a HTML designer react when he has to deal with ErlTl files ?
- How ErlTl files work with common HTML editors ?

And how do I get ErlTl files automatically compiled ? Erlide on
eclipse compiles erlang sources to beams files on file save
automatially, AFAIK the emcas and vim plugins do that as well, has
anybody hacked those tools to compile ErlTl templates ?

regards
--
Roberto Saccon

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
View user's profile Send private message
Guest
Posted: Fri Oct 20, 2006 6:55 pm Reply with quote
Guest
On 10/20/06, Roberto Saccon <rsaccon@gmail.com> wrote:
> has anybody started already to use ErlTl for web development ?

Not yet... I'm actually putting together a couple of extra features
now to make ErlTL more powerful. I'll release it later today.

>
> I haven't done yet, but I plan to do so soon, but maybe some one has
> already experiences to share:
>
> - How does a HTML designer react when he has to deal with ErlTl files ?

He probably runs to the hills Smile Actually, this is something I do care
about, so if you have any suggestions on how to make ErlTL more
web-designer friendly (or if you have code patches that already do
this) then please let me know.

> - How ErlTl files work with common HTML editors ?

I think ErlTL should work with HTML editors because all special syntax
is enclosed in '<%' and '%>', which are common code delimeters.
However, I haven't tried it yet. My suggestion is to keep complex
Erlang expressions outside of .et files and keep the .et files simple
to minimize the chances of confusing the editors.

>
> And how do I get ErlTl files automatically compiled ? Erlide on
> eclipse compiles erlang sources to beams files on file save
> automatially, AFAIK the emcas and vim plugins do that as well, has
> anybody hacked those tools to compile ErlTl templates ?

I wrote an Erlang module that automatically compiles all files,
including .et files, for an application. I will release it soon when
it's ready. I don't know about IDE support.

Regards,
Yariv

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
vladdu
Posted: Fri Oct 20, 2006 8:40 pm Reply with quote
User Joined: 28 Feb 2005 Posts: 397 Location: Gothenburg, Sweden
Hi,

On 10/20/06, Roberto Saccon <rsaccon@gmail.com> wrote:
> And how do I get ErlTl files automatically compiled ? Erlide on
> eclipse compiles erlang sources to beams files on file save
> automatially, AFAIK the emcas and vim plugins do that as well, has
> anybody hacked those tools to compile ErlTl templates ?

Regarding erlide, nobody as far as I know. There is a request for yaws
development support, but it is low priority for me... If anyone feels
tempted, please let me know and I will help.

regards,
Vlad

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
View user's profile Send private message
Guest
Posted: Sat Oct 21, 2006 7:25 pm Reply with quote
Guest
Ok... I said I would release the new ErlTL yesterday but it took a
little while longer.

I added support for flexible function declarations as well as
top-level declarations. I also fixed a bug. Now you can use pattern
matching instead of if/case statements.

The details are here:
http://yarivsblog.com/articles/2006/10/21/erltl-0-9-1

Cheers,
Yariv

On 10/20/06, Roberto Saccon <rsaccon@gmail.com> wrote:
> has anybody started already to use ErlTl for web development ?
>
> I haven't done yet, but I plan to do so soon, but maybe some one has
> already experiences to share:
>
> - How does a HTML designer react when he has to deal with ErlTl files ?
> - How ErlTl files work with common HTML editors ?
>
> And how do I get ErlTl files automatically compiled ? Erlide on
> eclipse compiles erlang sources to beams files on file save
> automatially, AFAIK the emcas and vim plugins do that as well, has
> anybody hacked those tools to compile ErlTl templates ?
>
> regards
> --
> Roberto Saccon
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
dmitriid
Posted: Mon Oct 23, 2006 6:38 am Reply with quote
User Joined: 17 Aug 2006 Posts: 213
On 10/21/06, Yariv Sadan <yarivvv@gmail.com (yarivvv@gmail.com)> wrote:
Quote:
Ok... I said I would release the new ErlTL yesterday but it took a
little while longer.

I added support for flexible function declarations as well as
top-level declarations. I also fixed a bug. Now you can use pattern
matching instead of if/case statements.

The details are here:
http://yarivsblog.com/articles/2006/10/21/erltl-0-9-1



Whoa.
WHOA!

I think I'm gonna get what doctors will later call a Yariv-induced drooling exhaustion Smile)
Now, if I could only learn how not to sleep and not to eat to try all this new stuff Smile

Post recived from mailinglist
View user's profile Send private message
Guest
Posted: Mon Oct 23, 2006 4:46 pm Reply with quote
Guest
haha... well, Dmitrii, you better save some of that drool -- you ain't
seen nothin yet Wink

Yariv

>
> Whoa.
> WHOA!
>
> I think I'm gonna get what doctors will later call a Yariv-induced drooling
> exhaustion Smile)
> Now, if I could only learn how not to sleep and not to eat to try all this
> new stuff Smile
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist

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 can attach files in this forum
You can download files in this forum