Re: CURL API . Formateum

new topic     » goto parent     » topic index » view thread      » older message » newer message
SDPringle said...

curl.e

The truth is, std/net/http.e is out of date and was out of date when it was written. Arguably you could use HTTPS on LAN as well and that's the only place these days it is used. HTTPS had alredy taken over when http.e was written. Use curl.e instead.

I think I mentioned before that I already have a nearly-complete CURL wrapper ready to go into Euphoria: https://github.com/OpenEuphoria/euphoria-mvc/tree/master/include/curl

SDPringle said...

curl import

Curl Import is for maintaining CURL.e and could be modified to be made more general and speed up API creation from C headers.

It would be great if we had a tool that could parse C headers and output the appropriate Euphoria wrapper. Unfortunately, C headers are so free-form that it's anybody's guess as to what's correct without some amount of human intervention. What might be better is something that that can compare C headers and Euphoria wrappers, and then list what's different. This could even be part of the unit testing framework for officially provided wrappers.

SDPringle said...

formateum

Formateum is for formatting your Euphoria files in order to keep files from many authors with the exact same indent style. If this is used and you you work with other devs, this will prevent unnecessary code conflicts which differ in style.

Like I said a long time ago (link), we really need a better way to "chew up and spit out" the language than anyone's ad-hoc approach. This information isn't easily derived from the token parser itself and most of the "logic" of parsing is baked deeper into the interpreter.

-Greg

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

Search



Quick Links

User menu

Not signed in.

Misc Menu