MetaBorgCube / metaborg-typescript

0 stars 2 forks source link

First syntax goal: functions #3

Closed TimvdLippe closed 7 years ago

TimvdLippe commented 7 years ago

To get a basic syntax definition, our first goal will be to correctly parse functions. A function typescript consists of the following:

To be able to parse functions, we therefore rely on some easy type definitions, but it is similar to how we did the MiniJava definitions.

TimvdLippe commented 7 years ago

So we did this already in https://github.com/MetaBorgCube/metaborg-typescript/commit/990ba689eb77a49aa9fc92dc124969e2f16016e5 :tada: