bulletml icon indicating copy to clipboard operation
bulletml copied to clipboard

Use PPX instead of a custom DSL

Open emillon opened this issue 8 years ago • 1 comments

let prog =
  let%bulletml act =
    repeat 500 @@ fire @@ repeat 10
      begin
        wait 60;
        speed 0;
        wait 60;
        speed 1;
      end;
    wait 10
  in
  [("top", act)]

emillon avatar Oct 07 '15 11:10 emillon

While an EDSL would be nice:

  • it doesn't have to be PPX. repeat can just be an (untyped) function.
  • There needs to be a way to dynamically parse a program, for example for the JS demo.

emillon avatar Oct 09 '15 06:10 emillon