txlyre hai 2 semanas
pai
achega
4935e3aace
Modificáronse 3 ficheiros con 134 adicións e 1 borrados
  1. 1 1
      build.sh
  2. 132 0
      jk.c
  3. 1 0
      readme.md

+ 1 - 1
build.sh

@@ -1 +1 @@
-cc -lm -lgc jk.c -o jk
+cc -lm -ldl -lgc -lffi jk.c -o jk

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 132 - 0
jk.c


+ 1 - 0
readme.md

@@ -271,6 +271,7 @@ r. monadic deal          yield random elt of x
 r. dyadic  roll          roll xdy (note: y is 0-based, so >xr.y for 1-based)
 e. monadic eval          eval expression, yields udf on parse error
 i. monadic import        load and eval source file
+i. dyadic  foreign       call external function (lhs is array of arguments), e.g. .5i.'libm.so:dd:sin'
 y. monadic system        exec system command (yields output)
 y. dyadic  system2       exec system command with input
 E. monadic exit          exit with exit code

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio