Export to GitHub

europa-pso - issue #6

Add NDDL methods


Posted on Aug 11, 2009 by Happy Ox

for the procedural part of NDDL, add the ability to define methods with the following syntax :

methodDefinition : returnDataType methodName '(' args ')' '{' methodStmt '}'

where method stmt is any of the procedural constructs already available in NDDL

Comment #1

Posted on Aug 11, 2009 by Happy Ox

(No comment was entered for this change.)

Comment #2

Posted on Aug 11, 2009 by Happy Ox

if possible, add polymorphic dispatch in the first pass.

it would be relatively easy to add methods to NDDL classes as well. it would mostly be just syntactic sugar if polymorphic dispatch is already in place.

Comment #3

Posted on Nov 22, 2010 by Happy Ox

(No comment was entered for this change.)

Status: Accepted

Labels:
Type-Enhancement Priority-Medium Component-Language-NDDL Milestone-EUROPA-X