Re: Euphoria 3.2

new topic     » goto parent     » topic index » view thread      » older message » newer message
BRyan said...
mattlewis said...
ArthurCrump said...

There appear to be a few people stll using pre-V4 Euphoria and some using both 3.1 and 4.0. How about a Euphoria version 3.2 whose only enhancement is an ifdef structure?

That would allow for libraries that work on both 3.2 and 4.0 or that use global on 3.2 and public on 4.0.

I am joking really because I gave up using v3.1 ages ago.

There is nothing, really, stopping anyone from doing just this.

Matt

I have been working on ver 3 trying to add features. 
But I can not get anyone to tell me how to use call_func() from "C" code . 
I can not use callback because of DOS . 

There is no need to use call_func() from C code, or use callbacks, to add the ifdef functionality on 3.1.1, as that's all in the parser (which is part of the front end), not the backend.

Have you tried backporting the fix in the 4.0 DOS branch for DOS32 call_backs to 3.1.1? That will probably be a lot easier than trying to use call_func() to call Euphoria code from C code.

http://rapideuphoria.svn.sourceforge.net/viewvc/rapideuphoria/dos/trunk/source/be_callc.c?r1=4515&r2=4514&pathrev=4515

(Note that there's a HUGE difference between trying to call front-end translated C code from the backend (eucoverage takes advantage of this) and trying to call user written Euphoria code from either the front end or the backend.)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu