LiveCode Builder is a language for extending LiveCode's capabilities, creating new object types as Widgets, and libraries that access lower-level APIs in OSes, applications, and DLLs.
I've been looking at `syntax` entries in the ./libscript/src/*.mlc files. I would like to define some custom syntax in my mlc library if possible. I want to define the following syntax:
put the host of url "http://www.livecode.com/test/index.html"
Is that possible in a library? If so, what is the syntax assuming I have a handler named `urlExtractBaseURL` that expects a string argument and returns a string?
Unfortunately not. That is what we'll be doing in version "9" with extensible syntax. At the moment all syntax in LCB is built into the compiler.
I put "9" in quotes because that's what we are terming it internally. It's just an extension of what we're doing in 8.0.. It doesn't mean it's a long time away. It all slated for 2015. It may not even be called 9.