Language of Varnish 3.0

Kacper Wysocki kacperw at gmail.com
Wed Jun 8 20:26:29 CEST 2011


Hello,

For those of you who don't know me... I write programs in VCL, like
security.vcl (as opposed to simple request flow control).. like some
of you I know you're out there..

I'm playing with V3.. wondering if there are debs available..

Too bad it breaks nearly all nontrivial VCL scripts out there..

"+" for strings, and
return (restart); # used to be just restart;
and
 std.log("foo"); # used to be just log
 import std;    # only allowed once in entire program.. or is it?
sometimes, you need to import again..

these changes taken together make it very difficult (read: not doable)
to write portable vcl..
even in the name of language normalization that is painful.
I understand the parser is now much easier to handle, so perchance it
is time now to apply a little syntactic sugar to the mix?

These issues should be obvious to anyone who's looked at V3, and I am
merely bringing this up here before release to avoid having the same
conversation 1k times with different people.

-- 
http://u.rdir.it/




More information about the varnish-misc mailing list