Re: What happened to the translator?

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

--- mtsreborn at yahoo.com wrote:
<hack>

> Anyways, I gave up hope on Euphoria, and you should
> to.
> There are more powerfull tools out there to code
> your
> apps.
I plan to use it for testing algorithms I will later
write in C or C++.  I would rather write my own than
have the overhead of Euphoria types.  But if the
translator becomes smart enough, it might recognize
the restrictions imposed on types and create the
appropriate type in C. If Rob put out some standard
types the the translator could easily understand it
wouldn't be so difficult.

<chop>

> Here's my code, with two sections, wich would give
> away the store, commented out;
> 
> /* NightShade */
> /* Native Interpreter with Garbage-collected */
> /* Hierarchical Threads in Syntactical Human */
> /* Alphabetics for Direct Execution */
> /* Version 1.0 */
> 
> /* By Mike The Spike */
> 

..

 /* Function Defines */
 void *ns_malloc(int size)
 {
 	void *ret;
 	if((ret = malloc(size)) == 0)
 		{
 			puts("This program ran out of memory...
");
 			exit(1);
	        }
// You don't need this...
//		else                
//			return ret;


 return ret;
 }

Just nit picking...

Good luck,
-Humberto

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

Search



Quick Links

User menu

Not signed in.

Misc Menu