Re: [Cython] error LNK2001: unresolved external symbol PyInit_init

2014-08-23 Thread Sturla Molden
On 21/08/14 13:30, Lisandro Dalcin wrote: Sturla, isn't this supposed to be handled in pyconfig.h (at least when using MSVC) ? I see these lines in PC/pyconfig.h (from Python sources): Yes, it is supposed to, but the error message suggest it was not and the compile line does not have it. St

[Cython] Towards a formal Cython grammar

2014-08-23 Thread Robert Bradshaw
I've started playing around with writing a grammar for Cython. As well as formally defining the language (in particular, with respect to Python) this should allow us to eventually move to using parser-generators rather than ad-hoc hand written code and be useful to external tools (e.g. IDEs, linte