YakshaLang/Yaksha

ccode in module level assignment

Closed this issue · 3 comments

a: Const[int] = ccode "abc"
Shows up as
#define yy__a (abc)
Is this a bug or intentional?

JaDogg commented

Thank you for replying. Hope you feel better.

JaDogg commented

In any case I would avoid using ccode unless it is really required. :) (wrapping a C library would be a good usecase in current version of Yaksha, but I would prefer to avoid that somehow in future versions of Yaksha)