hello one and all,

i am not sure what i am asking for here, in old days, it was called a
lexical scanner.  i would like to embed some web2py code like A(...)
or URL(...) or even a user defined function like index(...) into raw
ascii text, like in a text file or field in a database.

is there a function in web2py that can scan that text, draw out the
functions with some delimitors to distinguish it from real text, and
then run that code just like it were a compiled code function?  it is
sort of like the {{...}} delimitors in web2py views that allow us to
embed pure python code.  in fact, that is probably exactly it.  what
is that called and how do we implement that on our own?

thank you in advance and have a great day.  lucas

Reply via email to