On 12/01/2010 06:28 PM, Gabriel Dos Reis wrote: > Arthur Ralfs<art...@mathbrane.ca> writes: > > | On 12/01/2010 09:35 AM, Gabriel Dos Reis wrote: > |> > |> Hi, > |> > |> The entire OpenAxiom build system now uses C++ compilers to compile > |> C or C++ codes. This will make it possible to use functionalities (such > |> as regex) that are standard only in C++ libraries. > | > | That's excellent. Do you still have to make a spad interface or is it > | ready to experiment with? > > regex has been implemented by GCC since 4.3.0 (as descrived by the ISO > C++ TR1), and also available through free software C++ libraries such as > Boost for a long time > > http://www.boost.org/doc/libs/release/libs/regex/ > > (Boost is distributed by all major linux distros and free OSes) > > They surely are part of C++0x. > > I have not made the interface yet because: > (1) there are some memory management issues to consider that affect > the generality of the API > > (2) I would actually like to have an input from you about what are > *essential* for your panAxiom server effort. This will help me > decide parts of (1). > > -- Gaby > I'm not sure what's immediately essential.
For instance in analyzing the headers sent from the browser I originally, in the gcl server version, used gcl's regex's but when I realized sbcl doesn't have them, or that there is no standard for regex's in lisp, I managed to get the bare minimum I needed from the headers using spad's string functions. In my commments in the file I say there's more I'd like to do if I had regex's but I don't remember now exactly what I had in mind. Another sub-project I've done a bit of work on is marking up the spad library in xml for nice display and inspection from within the browser and which required regex's. But your request for input makes me thing about what I might actually work on now. Probably the most important thing to make a usable interface is to include graphics in the browser window for plots. This was problematic before because the only thing built into the browser was 2D like svg and canvas. Now I see Firefox 4 beta includes WebGL canvas allowing for 3D graphics so now might be the time to work on that. If there are unclear issues with making the regex interface in spad you could probably wait before proceeding on my account. I'll keep this in mind and see if I can come up with some concrete examples where regex's are essential. Arthur ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ open-axiom-devel mailing list open-axiom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-axiom-devel