10 lines
262 B
Bash
10 lines
262 B
Bash
|
#!/bin/sh
|
||
|
# $Id$
|
||
|
echo 'let builtin_exceptions = [|'; \
|
||
|
sed -n -e 's|.*/\* \("[A-Za-z_]*"\) \*/$| \1;|p' byterun/fail.h | \
|
||
|
sed -e '$s/;$//'; \
|
||
|
echo '|]'; \
|
||
|
echo 'let builtin_primitives = [|'; \
|
||
|
sed -e 's/.*/ "&";/' -e '$s/;$//' byterun/primitives; \
|
||
|
echo '|]'
|