pillowcase - News
posted by cngimenez, Thu 08 Nov 2012 05:41:14 PM UTC
In order to process the HTTP requests/responses, I needed some predicates for processing Strings. So I made the "pc_text_processing" module.
Using this modules gives you various common clauses to manipulate texts.
If you find mistakes, or want to collaborate fixing some problems, join this project!
Enjoy!
posted by cngimenez, Wed 03 Oct 2012 01:46:49 PM UTC
Pillow files works as a CGI scripts!
You can use Ciao Prolog libraries for making HTML dynamic pages. Pillow libraries is perfect for doing this job... and now works with Pillowcase!
URL that finish with ".pl" are pillow files... it executes automatically and send the results to the client! :)
Remember:
You'll need a writable HTML/PL home directory(configure it in pc_config.pl file!).
Happy Coding! :)
posted by cngimenez, Fri 14 Sep 2012 05:48:02 AM UTC
In the latest development, you can request a page and you get it! :)
Still is very simple HTTP(don't ask for tooooooo much yet :P)...
Start the server loading the module pillowcase and use dance_pillowcase predicate!
Here is an example using ciaosh application:
?- use_module(pillowcase).
yes
?- dance_pillowcase.
You can use any web browser and see [http//localhost:8080].
Happy coding!
posted by cngimenez, Thu 13 Sep 2012 05:35:19 AM UTC
Prolog is fast! :)
PillowCase is almost working!
Use start_server predicate to see it working. :) You can test it with telnet or a web browser.
Remember to configure the server editing the pc_config.pl file.
posted by cngimenez, Tue 11 Sep 2012 11:50:57 PM UTC
Good news! :)
I'm starting this project!
You are welcome to collaborate. :)
Enjoy!
Powered by Savane 3.14-50d9.
Corresponding source code