Hello everyone, Now that we are heading total rebar3 integration I think we should support both the src/ directory for Erlang source files and lisp/ for LFE source files. Both Erlang and LFE shares the include/ files for records and macros. I'm not sure what to think of this though. The reason I'm asking is because I usually end up with app_module.erl and app-module.lfe on the same src directory but I admit this is a very minor issue. Neverless I'd like to ask the list if this idea sounds or is it worthless to make the difference between both worlds. Cheers. -- You received this message because you are subscribed to the Google Groups "Lisp Flavoured Erlang" group. To unsubscribe from this group and stop receiving emails from it, send an email to lisp-flavoured-e...@googlegroups.com. To post to this group, send email to lisp-flavo...@googlegroups.com. Visit this group at http://groups.google.com/group/lisp-flavoured-erlang. For more options, visit https://groups.google.com/d/optout.
I don't have that issue, but in polyglot Clojure land, the convention is to set src/clj/, src/cljs/, src/frege/, etc. It could be cool to do src/erl/ and src/lfe/. Either way, I don't think a particular approach should be forced by the tooling. With Leiningen (Clojure build tool), you specify a list (vector) of source-paths. Rebar's analog is src_dirs, right?I think lfex/kla might be useful to you here too.I'm all for codifying an approach, but forcing it seems too heavy-handed. That's my two cents. :)Eric
Hello everyone, Now that we are heading total rebar3 integration I think we should support both the src/ directory for Erlang source files and lisp/ for LFE source files. Both Erlang and LFE shares the include/ files for records and macros. I'm not sure what to think of this though. The reason I'm asking is because I usually end up with app_module.erl and app-module.lfe on the same src directory but I admit this is a very minor issue. Neverless I'd like to ask the list if this idea sounds or is it worthless to make the difference between both worlds. Cheers. -- You received this message because you are subscribed to the Google Groups "Lisp Flavoured Erlang" group. To unsubscribe from this group and stop receiving emails from it, send an email to lisp-flavoured-erlang+unsub...@googlegroups.com. To post to this group, send email to lisp-flavoured-erlang@googlegroups.com. Visit this group at http://groups.google.com/group/lisp-flavoured-erlang. For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Lisp Flavoured Erlang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lisp-flavoured-e...@googlegroups.com.
To post to this group, send email to lisp-flavo...@googlegroups.com.
_____________________________
From: Duncan McGreggor <dun...@mcgreggor.org>
Sent: Sunday, November 8, 2015 2:25 PM
Subject: Re: [lisp-flavoured-erlang] LFE source directory proposal
To: Lisp Flavoured Erlang <lisp-flavoured-erlang@googlegroups.com>
OK, then the current suggestion is to leave them in src/. For those who want separate we will suggest they use the directory lisp/, or maybe l_src/.
Would it be possible to have commented out sections in tool config files with the LFE sources in other directories? It is to do in a Makefile but I don't know about rebar or rebar3.
Robert
On Sunday, 8 November 2015 22:15:51 UTC+1, Eric Bailey wrote:
_____________________________
From: Duncan McGreggor <dun...@mcgreggor.org>
Sent: Sunday, November 8, 2015 2:25 PM
Subject: Re: [lisp-flavoured-erlang] LFE source directory proposal
To: Lisp Flavoured Erlang <lisp-flavo...@googlegroups.com>
FWIW, I'm not really in favor of having separate source directories for Erlang and LFE. rebar and now rebar3 (with the LFE compile plugin) handle mix-source just fine.
+1. I've had projects with mixed Erlang and LFE source coexisting happily.
So my vote would be to keep things the way they are by default, knowing that users may do all sorts of fun stuff by updating their rebar.config files with additional src_dirs ... :-)To this end it might be nice to show an example setup somehow for people who's want the separation, mentioning how all the .beams will live happily together.
--