CVS: sml-dist/src/lexgen build,NONE,1.1 todo,NONE,1.1
Matthias Blume <[email protected]>
| Newsgroups | gmane.comp.lang.sml.smlnj.commits |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/smlnj/sml-dist/src/lexgen
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30700/src/lexgen
Added Files:
build todo
Log Message:
ml-flex -> lexgen
--- NEW FILE: build ---
#!/bin/sh
#
# build script for lexgen
#
# options:
# -o image -- specify the name of the heap image, "ml-yacc"
# is the default.
CMD=$0
ROOT="lexgen"
HEAP_IMAGE=""
TWOUP=`pwd`/../..
BIN=${INSTALLDIR:-$TWOUP}/bin
BUILD=$BIN/ml-build
#
# process command-line options
#
while [ "$#" != "0" ] ; do
arg=$1
shift
case $arg in
-o)
if [ "$#" = "0" ]; then
echo "$CMD: must supply image name for -o option"
exit 1
fi
HEAP_IMAGE=$1; shift
;;
*)
echo $CMD: invalid argument: $arg
exit 1
;;
esac
done
if [ "$HEAP_IMAGE" = "" ]; then
HEAP_IMAGE="$ROOT"
fi
cd src
"$BUILD" sources.cm Main.main "$HEAP_IMAGE"
exit 0
--- NEW FILE: todo ---
%full
better error handling on ml-lex.lex and ml-lex.yacc
check for invalid start states on rules
escape codes and DOT
(*line stuff
docs
lookahead?
-----
changes:
-- yylineno not slow
-- %count and %reject assumed
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642