This document should describe what should be the behavior when we have recursive dependencies.
// TODO: Why is this useful. As seen in harfbuzz and freetype2 on runtime and for general recursion you can look at most compilers.
FROM agners/archlinuxarm-arm32v7 | |
# pacman -Sy --noconfirm base-devel awk m4 git unzip perl wget ocaml opam ocaml-compiler-libs | |
RUN pacman -Sy --noconfirm base-devel awk m4 git unzip perl wget | |
RUN curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh | sh | |
RUN useradd -m esy-user | |
USER esy-user |
/* | |
features: | |
- auto currying | |
- closures | |
- recursion | |
- basic branching | |
- ffi with JS | |
missing: | |
- tail call recursion |
#! /bin/sh | |
set -e | |
set -u | |
OCAMLC_PATH=$(dirname $0) | |
BSC="$OCAMLC_PATH/bsc" | |
NEW_ARGS="" | |
for ARG in "$@" |
make: Entering directory '/bin/ocaml/testsuite' | |
Running tests from 'tests/afl-instrumentation' ... | |
... testing 'afltest.ml' with 1 (native-compiler) => passed | |
... testing 'afltest.ml' with 1.1 (script) => skipped (afl-showmap not available) | |
... testing 'afltest.ml' with 1.1.1 (setup-ocamlopt.byte-build-env) => n/a | |
... testing 'afltest.ml' with 1.1.1.1 (ocamlopt.byte) => n/a | |
... testing 'afltest.ml' with 1.1.1.1.1 (ocamlopt.byte) => n/a | |
... testing 'afltest.ml' with 1.1.1.1.1.1 (run) => n/a | |
Running tests from 'tests/arch-power' ... | |
... testing 'exn_raise.ml' with 1 (arch_power) => skipped (Target is not POWER architecture) |
#! /bin/sh | |
## Requirements | |
## - esy | |
## - brew install nodejs | |
## - brew install coreutils | |
## Full Xcode installed | |
## look for /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk | |
git clone https://github.com/EduardoRFS/reason-mobile.git |
/* | |
your obj pointer came in the first position of the stack | |
so you will load it on a register | |
*/ | |
movl (%esp), %eax ; | |
/* | |
then you want to do obj.a += 6, if we suppose | |
that we're talking about records not dictionaries |