From: Edward K. Ream <[email protected]>
To: leo-editor <[email protected]>
Sent: Wednesday, February 24, 2016 9:57 AM
Subject: Re: Coffeescript: another new direction for Leo
On Sunday, February 21, 2016 at 11:46:26 AM UTC-6, Edward K. Ream wrote:
Just as c2py.py marked the beginning of my python experience,
python_to_coffeescript.py marks the beginning of my web-programming career. At
present, this is a one-day prototype. It's useful as is, and I plan to spend
some more time on it.
This has taken three very long days. It's been well worth the time. I am
thrilled with the TokenSync class. It shows how to access tokens from within a
parse tree. This is a great workaround with bugs with ast.col_offset field. In
fact, I much prefer the TokenSync class even if col_offset were solid. I never
dreamed it would be so easy to get the benefits of both tokens and parse trees
so easily.
Wondering if this relates to Leo's live python plugin, livecode.py, the one
that creates a pane showing the results of the code in the body in real time.
There was some challenge with connecting the expression generating a result
with the generated result, which it addresses with an external (not bundled
with Leo) dependency on the python meta package
https://pypi.python.org/pypi/meta although I don't think it was a complete
solution. It would be nice for Leo to be able to do the live code thing out of
the box.
Cheers -Terry
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.