foralex / picoc

Automatically exported from code.google.com/p/picoc
0 stars 0 forks source link

Function prototypes for forward references #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Function prototypes aren't implemented. This means that forward references
can't be used, making it difficult to write large programs.

Original issue reported on code.google.com by zik.sale...@gmail.com on 1 Mar 2010 at 6:21

GoogleCodeExporter commented 9 years ago
I realised that this isn't actually necessary in an interpreted language anyway.
Since it's all late binding, the functions only need be defined when they're 
called -
not when other functions refer to them.

It's implemented anyway for compatibility with regular C.

Original comment by zik.sale...@gmail.com on 1 Mar 2010 at 8:40