Ragel State Machine Compiler 6.1 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Ragel State Machine Compiler 6.1 (Default branch)
# 1  
Old 03-27-2008
Ragel State Machine Compiler 6.1 (Default branch)

Ragel compiles finite state machines from regularlanguages into C, C++, Objective-C, D, Java, orRuby code. It allows the programmer to embedactions at any point in a regular language, and tocontrol non-determinism in the resulting machines.It understands concatenation, union, kleene star,subtraction, intersection, epsilon transitions,and various other common operators. It alsosupports the construction of scanners and thebuilding of state machines using state charts. Itcan be used to create very fast recognizers andparsers that are also robust.License: GNU General Public License (GPL)Changes:
Scanners now ensure that any leaving actions atthe end of a pattern are executed. They are alwaysexecuted before the pattern action. The -d optionfor turning off the removal of duplicate actionsfrom actions lists was added.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Vim function to generate RTL Code(finite state machine) in verilog

Hi I wanted to call the AutoFsm function (given below) in vim to generate a code something like: **********verilog code to generate ************* always @(posedge clk or negedge rst_n) begin if(!rst_n) begin state_r <= #1 next_stateascii_r; ... (0 Replies)
Discussion started by: dll_fpga
0 Replies

2. Programming

Bitwise operation for state machine

Hello All, I am writing basic state machine which maintains 8 different states and there is posibility that system may be in multiple states at a time (Except for state1 to state3. menas only once state can be active at a time from state1 to state3). I have declared... (9 Replies)
Discussion started by: anand.shah
9 Replies

3. Programming

How Can a Machine Reads a Compiler Since A Compiler is Written in Text! Not Binaries?

To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first? The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's... Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies
Login or Register to Ask a Question
OCAMLCP(1)						      General Commands Manual							OCAMLCP(1)

NAME
ocamlcp - The Objective Caml profiling compiler SYNOPSIS
ocamlcp [ ocamlc options ] [ -p flags ] filename ... DESCRIPTION
The ocamlcp command is a front-end to ocamlc(1) that instruments the source code, adding code to record how many times functions are called, branches of conditionals are taken, ... Execution of instrumented code produces an execution profile in the file ocamlprof.dump, which can be read using ocamlprof(1). ocamlcp accepts the same arguments and options as ocamlc(1). OPTIONS
In addition to the ocamlc(1) options, ocamlcp accepts the following option controlling the amount of profiling information: -p letters The letters indicate which parts of the program should be profiled: a all options f function calls : a count point is set at the beginning of each function body i if ... then ... else: count points are set in both then and else branches l 0 loops: a count point is set at the beginning of the loop body m match branches: a count point is set at the beginning of the body of each branch of a pattern-matching t try ... with branches: a count point is set at the beginning of the body of each branch of an exception catcher For instance, compiling with ocamlcp -pfilm profiles function calls, if ... then ... else ..., loops, and pattern matching. Calling ocamlcp(1) without the -p option defaults to -p fm meaning that only function calls and pattern matching are profiled. Note: due to the implementation of streams and stream patterns as syntactic sugar, it is hard to predict what parts of stream expressions and patterns will be profiled by a given flag. To profile a program with streams, we recommend using ocamlcp -p a. SEE ALSO
ocamlc(1), ocamlprof(1). The Objective Caml user's manual, chapter "Profiling". OCAMLCP(1)