1. CURL API . Formateum

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.

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.

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.

Download all of them at: https://github.com/shawnpringle/euphoriatools

new topic     » topic index » view message » categorize

2. Re: CURL API . Formateum

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 message » categorize

3. Re: CURL API . Formateum

ghaberek said...

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

Yes I would have mentioned it to you but it didn't occur to me in 2015 and then I got involved with another project that pays you to blog and then recently when you mentioned CURL to me, I had forgotten about my curl library generator. The generator saves you from writing the define_c_func lines and constant lines but the rest is still up to the user.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu