chkoreff / fexl Goto Github PK
View Code? Open in Web Editor NEWFunction EXpression Language (interpreter for functional programs)
Home Page: http://fexl.com
License: MIT License
Function EXpression Language (interpreter for functional programs)
Home Page: http://fexl.com
License: MIT License
I decided to take a look at Fexl again after...well it looks like 2 years based on my old issues. With my current pull request and 2 other OpenBSD specific tweaks (remove -ldl and nomove RTLD_NODELETE since OpenBSD doesn't need the former and doesn't support the latter) Fexl built and runs just fine on my amd64 OpenBSD -current system. One thing when I run .check a1 it seems the try (/ 0.0 0.0)
test returns nan instead of -nan on my system any ideas?
Thanks.
I set up a FreeBSD v9.2 machine on VirtualBox, and fexl isn't working there. It builds fine, but then I try this:
$ bin/fexl
say "Hello world."
^D
The result:
Undefined symbol examine on line 12
Undefined symbol var on line 15
...
Basically it's unable to resolve anything in share/fexl/fexl.fxl.
I was hoping that compatibility between Linux and BSD would be a slam-dunk, but how wrong I was. I suspect a lot of it has to do with the usual path drama (e.g. "/proc/self/exe" and the like).
Evidently jturner has had a lot more luck than I running Fexl on BSD.
Trying to package Fexl for Arch Linux. Running into a slew of issues.
make DESTDIR=...
/usr/bin
or /usr/share
if these locations do not already exist.I've hacked around this using a unionFS sandbox so that ./build
thinks it is writing to the root filesystem.
You can see the attempts at trying to fix these in
https://aur.archlinux.org/packages/fe/fexl-git/PKGBUILD
But even after after all this stuff, the REPL does not actually work.
I get the following build failures with /bin/sh and /bin/bash on fedora 16 and mac os x 10.6. Any thoughts?
Under OpenBSD 5.0 on amd64 with gcc 4.2.1 I get the following build error:
gcc -c -Wall -Werror -ansi -O3 -fPIC src/double.c -o obj/double.o
cc1: warnings being treated as errors
src/double.c: In function 'Qdouble':
src/double.c:27: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/double.c: In function 'get_double':
src/double.c:44: warning: dereferencing type-punned pointer will break strict-aliasing rules
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.