Wondering about LC and HTML5
Bob Sneidar
bobs at twft.com
Tue Jun 21 13:18:00 EDT 2011
I tried a dBase to LC code converter as my first project. I abandoned it because there were tokens like $ and & that both languages used, but meant totally different things. Also, dBase (or super sets of dBase) use a thing called Macro substitution for which there is no equivalent in LC. Finally, some tokens in dBase mean different things depending on where they are used, and in what context.
All of this made a language tree parser seem almost insurmountable, and as I am really just a hobbyist developer, I could see that it was a whole lot of work for very little benefit.
Bob
On Jun 20, 2011, at 6:45 PM, Chipp Walters wrote:
> Well, I talked with Chris. He said he remembers years ago someone built or
> started to build a language tree parser for Rev so they could transcode
> Transcript to another language. Once a Transcript language parser is
> created, you can move it to other languages-- or so the theory goes.
>
> Chris imagined it would take a couple weeks to do such a thing, assuming not
> all tokens were supported, just the main stuff. Of course, language
> conversion is only a small part of the problem. I'm thinking one would want
> to adopt an Open Source set of Javascript controls and convert them to
> DropTools, so they match exactly the look/feel/size of the real thing. Then
> each would have a custom inspector which set the properties and methods.
>
> And there needs to be some sort of MVC framework put in place (libraries?).
> Still, according to Chris, he believes a lot of what you need to do can all
> be done client-side in Javascript-- at least that's a good place to start. I
> can imagine a proof of concept HyperCard like demonstration, with different
> gui widgets and some biz logic, all running local.
>
> It is food for thought...
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list