Fix mocml generator for QML #11

Closed
Kakadu opened this Issue Jan 14, 2012 · 4 comments

Comments

Projects
None yet
2 participants
@Kakadu
Owner

Kakadu commented Jan 14, 2012

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

@ghost ghost assigned qrntz Jan 14, 2012

@qrntz

This comment has been minimized.

Show comment Hide comment
@qrntz

qrntz Jan 18, 2012

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! :-)

qrntz commented Jan 18, 2012

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

This comment has been minimized.

Show comment Hide comment
@Kakadu

Kakadu Feb 12, 2012

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
            ]
Owner

Kakadu commented Feb 12, 2012

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

This comment has been minimized.

Show comment Hide comment
@qrntz

qrntz Feb 15, 2012

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

qrntz commented Feb 15, 2012

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

@Kakadu

This comment has been minimized.

Show comment Hide comment
@Kakadu

Kakadu Mar 1, 2012

Owner

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

Owner

Kakadu commented Mar 1, 2012

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

@Kakadu Kakadu closed this Jul 23, 2014

@qrntz qrntz removed their assignment Aug 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment