Saturday, March 04, 2023

Re: [new] lang/lfe

Hello,

On 2023/03/04 16:30:42 +0000, Renato Aguiar <renato@renatoaguiar.net> wrote:
> LFE is a Lisp-2+ written for the Erlang VM, providing 100% compatibility
> with Core Erlang. It is a proper, functional dialect of Lisp with a REPL
> and macros, as well as features inherited from Erlang, such as pattern
> pattern matching.
>
> (port attached)

two nitpics:

- can set MANINSTDIR=... instead of patching the Makefile
- makefile tries to look for `mandb' and, while it's not strictly an
issue, it causes noise in the logs.

it compiles a C file without respecting the CFLAGS (bin/lfeexec) but
it's not used in the build nor it is shipped in the package, so I've
avoided patching the Makefile further.

could set TEST_TARGET=tests; tests don't currently work (they call
rebar3 and not rebar3-${MODERL_VERSION} and try to fetch stuff from
the internet). I've ran the tests outside of the ports infrastructure
and are all passing!

I didn't know this lisp dialect, I've played briefly with the REPL
following the tutorial on the website; so far it worked as expected :)

I'm reattaching a tarball with above fixed that's ok op@ to import,
thanks!

No comments:

Post a Comment