Re: Euphoria Compiler
- Posted by Pete Eberlein <xseal at HARBORSIDE.COM> Jul 28, 1998
- 549 views
Nate wrote: > > How about a Linux Euphoria? I use Linux more than M$-DOS > (gasp and it's very stable and fun. > There are two (count'em, two) portable Euphoria interpreters in the works as we speak. David Cuny is working on his Gnuphoria interpreter, aka Project X. Inspired by David's work, I too am writing an Euphoria interpreter in ANSI C. It compiles successfully with DJGPP for MS-DOS, as well as the Gnu C Compiler for Unix on my ISP. And now a question for Rob... what is the object() function supposed to do? "? object(x)" displays x, not a true/false value like the other type functions: atom(), sequence(), integer()... I guess types are just functions... try this: type foobar(object x) return x end type object hey hey = {1,1,2,3,5,8} ? foobar(hey) ? object(hey) weird, huh? But an object() function would be useless because everything is an object, so it would always return true. Boggles the mind :) Later, -- _____ _____ _____ ________ /\ \ /\ \ /\ \ / \ \ / \____\ / \____\ / \____\ / _ \____\ / / ___/_ / /____/ / / ___/_ / / \ |____|/ / /\____\ / \ \ / / /\____\ \ \_/ / / \ \/ / ___/_\ \ \ \ \/ / ___/_ \ /____/ \ / /\ \\/\ \ \ \ / /\ \ \ \ \ \ \/ \____\ \ \ \ \ \/ \____\ \ \ \ \ / / \ \____\ \ / / \ \____\ \ / / \ / / \ / / \ / / \ / / \/____/ \ / / \/____/ \/____/xseal at harborside.com\/____/