Hi, me again. I'm just about over the syntax hump, though there are still some wrinkles to ask about from nosing through the flx code in the distribution; more of that later ...
So now I'm trying to work out where felix ends and C++ starts; in another language I'd be jumping into the library reference right now, seeing what batteries it comes with. Of course, giving felix sits on top of C++, I'm assuming it gets everything from C++ virtually for free. The constructs in the code like type file = "FILE *"; fun fopen: string -> file = 'std::fopen($1.data(), "rw")'; seemed weird till I realised I wasn't thinking of felix as a language that generates C++ code (even if it is mangled!! : ). So this is a question about the standard library for felix. I've been looking at lib/std.flx and I understand most of what I'm seeing, but I do get the impression it seems, well, a little bare, but understand that could be just be because felix is quite young. So, not being a C++ programmer, what bits of C++ should I be learning about to use felix properly (if there is even such a notion of that at this stage? : ) I was trying to work out how a more external library than std might fit in with felix, so I thought gmp would be a good bet, as there is a module but I don't have it installed yet. So I installed the library and tried one of the felix gmp tests out of the box, expecting it to give some error, and blow me down if it didn't just work. How did it know how to link in the libary, and what the library is? Cheers, Jonathan. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Felix-language mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/felix-language
