Project

General

Profile

« Previous | Next » 

Revision 9b0432bc

Added by Corentin Lauverjat over 1 year ago

  • ID 9b0432bc4c6c7165663ff1239ee93adac0a4a34d
  • Parent 9e88590e

Using deriving_ppx to derive show_ functions for the main types defined in lib/
Applying the same procedure of operator specialization taken from the C backend to Tiny
Lustrev has now a functional Tiny plugin : * -unrolling option has been renamed -duration because from an outside observer it is the length in steps of the abstract simulation * the plugin takes a JSON input file containing the bounds on input of the top node (option -bounds-input) * the plugins outputs its result in a Json format on the stdout. It can also output a {basename}_result.json file containing the result if the flag -tiny-output is provided
Adding a Tiny backend that generates Tiny code from Lustre
Repairing treatment of parsing error that was broken since transitioning from ocamlyacc to menhir

View differences:

lib/parsers/parse.ml
51 51
    Parsing.clear_parser ();
52 52
    ast
53 53
  with
54
  | Parsing.Parse_error ->
54
  | Parser_lustre.Error ->
55 55
    let loc = Location.curr lexbuf in
56 56
    raise (Error (loc, Syntax_error))
57 57

  
......
61 61
    Parsing.clear_parser ();
62 62
    ast
63 63
  with
64
  | Parsing.Parse_error ->
64
  | Parser_lustre.Error ->
65 65
    let loc = Location.curr lexbuf in
66 66
    raise (Error (loc, Syntax_error))
67 67

  

Also available in: Unified diff