Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix mocml generator for QML #11

Closed
Kakadu opened this Issue · 4 comments

2 participants

@Kakadu
Owner

We should generate C++ and Ocaml source files for connecting two APIs...

@qrntz qrntz was assigned
@qrntz
Collaborator

Of course. Excuse me for not being active lately, I'm quite busy in RL and will have more free time in a few days.
I'm not abandoning anything though, I've been thinking about it! :-)

@Kakadu
Owner

So we have a simple parser for yaml and we should decide what information will be stored in this yaml. Maybe something like that?

 ---
 A:
   signals: 
      click: [unit, unit]
      changeState: [int, unit]
   slots:
     clicked: [unit, unit]
     stateChanged: [int, unit]
   methods:
     show: [unit,unit]
     setParent: [qwidget, unit]
   properties:
     title: [get: getter
             ,set: setter
             ,notify: notifier
            ]
@qrntz
Collaborator

Yes, that'll do. I will need to modify the parser a bit, though.

@Kakadu
Owner

https://gist.github.com/1952685
You can finish hacking this code of parser

@Kakadu Kakadu closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.