ml-ulex(1) General Commands Manual ml-ulex(1)NAME
ml-ulex - lexer generator for Standard ML
SYNOPSIS
ml-ulex [--dot] [--dump] [--match] [--ml-lex-mode] [--minimize] file
DESCRIPTION
This manual page documents briefly the ml-ulex command. This manual page was written for the Debian distribution because the original pro-
gram does not have a manual page. The ml-ulex script is part of the SML/NJ CM (Compilation and Library Manager) that is used to generate
standalone programs.
OPTIONS
A summary of some of the options is included below.
--dot Generate DOT output (for graphviz).
--match
Enter interactive matching mode.
--ml-lex-mode
Operate in ml-lex compatibility mode.
SEE ALSO sml(1), ml-antlr(1), ml-lex(1), ml-yacc(1).
The programs are documented fully by CM: The SML/NJ Compilation and Library Manager, User Manual, Matthias Blume, which is available via
<http://cm.bell-labs.com/cm/cs/what/smlnj/doc/CM/new.pdf>.
AUTHOR
This manual page was written by Daniel Moerner <dmoerner@gmail.com>, for the Debian GNU/Linux system (but may be used by others).
September 4, 2009 ml-ulex(1)
Check Out this Related Man Page
SML(1) General Commands Manual SML(1)NAME
sml - SML compiler
SYNOPSIS
sml [ rtsargs ] [ options ] [files ]
DESCRIPTION
This manual page documents briefly the sml command. This manual page was written for the Debian distribution because the original program
does not have a manual page. This is a compiler for Standard ML which may be used interactively.
OPTIONS
A summary of options is included below.
rtsargs:
@SMLload=heapimage
Start specified heap image.
@SMLalloc=size
Specify size of allocation area.
@SMLcmdname=name
Set command name.
@SMLquiet
Load heap image silently.
@SMLverbose
Show heap image load progress.
@SMLobjects
Show list of executable objects.
@SMLdebug=file
Write debugging info to file.
options:
-Dname=value
Set CM variable to given value.
-Dname Set CM variable to 1.
-Uname Unset CM variable.
-Ccontrol=value
Set named control.
-H Produce complete help listing.
-h Produce minimal help listing.
-hlevel
Help with obscurity limit.
-S List all current settings.
-slevel
Limited list of settings.
files:
file.cm
CM.make or CM.autoload.
-m Switch to CM.make.
-a Switch to CM.autoload; default.
file.sig
Use.
file.sml
Use.
file.fun
Use.
SEE ALSO ml-build(1), ml-lex(1), ml-makedepend(1), ml-yacc(1).
Standard ML is defined in The Definition of Standard ML, Robin Milner, Mads Tofte, Robert Harper and David MacQueen.
AUTHOR
This manual page was written by Aaron Matthew Read <amread@nyx.net>, for the Debian GNU/Linux system (but may be used by others).
October 25, 2002 SML(1)
this is my lex file ------------ test.l
%%
printf("%c",yytext+'a'-'A');.ECHO;
how do i compile it
$ lex test.l cc lex.yy.c -o test -ll <------|
|
if this is correct do i add this line--------| @the command line or does it... (0 Replies)
Hi,
I need to read one chinese char using lex. I tried using "." ( period ) for pattern matching but in vain.
Could anyone suggest me how do i proceeed.
Sample pgm: to read a chinese char in single quotes.
%{
#include <locale.h>
%}
%%
\'.\' printf("SUCCESS\n");
. ... (0 Replies)
hi,
currently I have Fedora Core 7 and I use the Compiler ported with FC7.
i.e "cc src.c".
but I am unable to explore the Compilation Options that can be passed with cc...
like cc -c and options like that.. but when I tried man cc, I did not find any mnaual page for CC..
so now how do... (2 Replies)
While installing amanda server,i got the following error
## checking lex output file root... configure: error: cannot find output from flex; giving up.
when i execute
# which lex
i got /usr/ccs/bin/lex
setting the pathg does not work too
After this i tried intalling flex in my /opt... (0 Replies)
Hi everyone,
I would like to know how to compile and run lex programs on solaris 10.
the conventional way is
$ lex <name.l>
$ cc lex.yy.c -ll
$ ./a.out
but while trying to execute the 2nd command :i get a reference saying that the command is old or that main is not supported...
Hence... (1 Reply)
Hi ,
I need to develop a parser which should match something like
1. text a=5 " a=20";
2. text a=..."
a=20";
3 text a=..."
a=20
b=34
c=12
";
I have used this regular expression in my Lex file to generate the tokens:
\".\s*.*\s.\" (8 Replies)
Hi
While installing Glimpse on Unix, I am getting the following error.
Can someone please help to resolve the same ?
flex -F -8 htuml2txt.lex
make: flex: Command not found
make: *** Error 127
make: Leaving directory `/home/user30/glimpse-4.18.6/dynfilters'
make: *** Error 2
Regards... (1 Reply)
Hi everyone!
This is my very first post, sorry if I'm not posting in the right category.
I'm trying to match a newline "/n" using lex/yacc.
For example,
print(9,'\n',8)
should print
9
8
now do I write a regular expression to match exactly " '\n' "
Thanks! (1 Reply)