KATT does a few more things (since it's goal is testing HTTP), but I've used it also for scripting purposes. The syntax is 99% plain HTTP syntax.<p><a href="https://github.com/for-GET/katt" rel="nofollow">https://github.com/for-GET/katt</a>
Creating this Language in Racket would be the best option IMHO. Racket was made for specifically this reason.<p><a href="http://docs.racket-lang.org/guide/languages.html" rel="nofollow">http://docs.racket-lang.org/guide/languages.html</a>
Author here, I am currently looking for someone who would be interested in improving and maintaining this project. I have been trying but I don't really have time due to work and other things happening in my life. I would like to see HTTPLang grow,and it seems like there is some interest in the community. If anyone is interested send me an email at max00355@gmail.com
I'm curious why this was made into a scripting language instead of into a regular Python library. It it were regular Python you would get tons of features for free like loops, functions, if statements, etc.
One problem i've had using python to script loading pages, is sometimes other pages you need things from load in frames based on a javascript load functions. PhantomJS solves this by emulating the browser... of course then you have to do everything in javascript.