Skip to content

Commit

Permalink
Convert to lform
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@78 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
x97davka committed Jan 9, 1998
1 parent 3149514 commit b786c2d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions modeq/main.rml
Expand Up @@ -8,7 +8,8 @@ with "absyn.rml"
with "parse.rml"
(* with "test.rml" *)
with "dump.rml"

with "lform.rml"
with "dae.rml"
(* with "modelica.rml" *)

relation main =
Expand All @@ -22,9 +23,13 @@ relation main =

rule print "Jahaja\n" &
Parser.parse f => p &
Dump.dump p
Dump.dump p &
(* & Dump.dump Test.prog1 *)
& print "[slut]\n"
print "Translating\n" &
Lform.convert p => p' &
(* Modelica.progDAE p => d & *)
(*DAE.dump d & *)
print "[slut]\n"
----------------
main [f]

Expand Down

0 comments on commit b786c2d

Please sign in to comment.