FSK B

>b's weblog

News. Journal. Whatever.

pyPEG 0.30 fixes bug with skipWS=FalseKohl erhält Nazi-Preis

YML 2.1.2 released: the Null Function

Moving the possibilities of YML forward to express C like DSLs, I added a feature called Null Function.

An example:

decl _ +type +name alias func;
decl in +type +name, out +type +name,
     inout +type +name;
decl interface +name;

interface Testcase {
    void f(in string input);
    long getOptions();
}

compiles to:

<interface name="Testcase">
  <func type="void" name="f">
    <parms>
      <in type="string" name="input"/>
    </parms>
  </func>
  <func type="long" name="getOptions"/>
</interface>
publiziert Mon, 04 May 2009 22:55:38 +0200

Zurück zum Blogindex