On 11/03/2011, at 4:02 AM, Erick Tryzelaar wrote: > On Mon, Mar 7, 2011 at 3:42 AM, john skaller > <skal...@users.sourceforge.net> wrote: >> I have added >> >> extern "C" cstatement >> extern "C" { cstatement+ } >> >> to the grammar. This allows you to write any C89 code directly in Felix >> with the following caveats: > > (sorry for the absence, I was computer-less for a week :) ) > > Interesting. Two questions. First, are there a lot of advantages to > having this in felix proper compared to just using a library like our > rtl?
rtl or std? [rtl is C++, std is felix] Advantages? Familiarity js the main one, however brevity and faithfulness of reproduction of a C interface with minimal work are important too. > Second, is this a syntax extension or is this syntax opened by > default? It's opened standard. otherwise it wouldn't work due to Dypgen bug. -- john skaller skal...@users.sourceforge.net ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language