Learn more about this site. Limit to suite: [ jessie ] [ jessie-updates ] [ stretch ] [ stretch-updates ] [ stretch-backports ] [ stretch-backports-sloppy ] [ buster ] [ buster-updates ] [ buster-backports ] [ bullseye ] [ sid ] [ experimental ] Limit to a architecture: [ alpha ] [ amd64 ] [ arm ] [ arm64 ] [ armel ] [ armhf ] [ avr32 ] [ hppa ] [ hurd-i ] [ i ] [ ia64 ] [ kfreebsd-amd64 ] [ kfreebsd-i ] [ m68k ] [ mips ] [ mips64el ] [ mipsel ] [ powerpc ] [ powerpcspe ] [ ppc64 ] [ ppc64el ] [ riscv64 ] [ s ] [ sx ] [ sh4 ] [ sparc ] [ sparc64 ] [ x32 ].
You have searched for packages that names contain flex in all suites, all sections, and all architectures. It is extremely fast an capable. Preliminary experiments indicated, that compiling a program which consists of 1,, simple clauses with two arguments of different types an integer and an atom , takes about The source file, which contains the clauses is 29MB long. After loading the file, the inference engine occupies MB of memory.
- Bob the Gambler.
- A New Agenda in (Critical) Discourse Analysis: Theory, methodology and interdisciplinarity (Discourse Approaches to Politics, Society and Culture).
Issuing a simple goal using an integer type argument, and finding the first satisfying result takes about 0. Subsequent goals, specified on the same clause, take unnoticeable amount of time below 0.
Issuing a similar goal on an atom type argument, takes 0. Compiling the same input file with GNUProlog was not even possible.
flex-old - Old version of the fast lexical analyzer generator
Relaxing the problem to the size of 20, clauses kB of data takes The same operation, for SWI-Prolog, takes 0. Nothing has changed in the C language over the last 20 years which would affect either of the above statements.
All of the above is contingent on the programmer having some understanding of how to use the tool and for which problems it is and is not appropriate. As with any toolset. Learn more. First 10 Free. Flex - A fast scanner generator.
Asked 2 years, 7 months ago. Active 2 years, 7 months ago. Viewed 96 times.
Flex - a scanner generator
I wonder, why is Flex used even till now as far as I know? This is what I read about Flex It takes as its input a text file containing regular expressions, together with the action to be taken when each expression is matched.
Guru Guru 4 4 silver badges 19 19 bronze badges.