Re: [fonc] Block-Strings / Heredocs (Re: Magic Ink and Killing Math)

2012-03-14 Thread Loup Vaillant
BGB wrote: On 3/13/2012 4:37 PM, Julian Leviston wrote: I'll take Dave's point that penetration matters, and at the same time, most new ideas have old idea constituents, so you can easily find some matter for people stuck in the old methodologies and thinking to relate to when building your

Re: [fonc] Block-Strings / Heredocs (Re: Magic Ink and Killing Math)

2012-03-14 Thread Loup Vaillant
Michael FIG wrote: Loup Vaillantl...@loup-vaillant.fr writes: You could also play the human compiler: use the better syntax in the comments, and implement a translation of it in code just below. But then you have to manually make sure they are synchronized. Comments are good. Needing them

Re: [fonc] Block-Strings / Heredocs (Re: Magic Ink and Killing Math)

2012-03-14 Thread BGB
On 3/14/2012 8:57 AM, Loup Vaillant wrote: Michael FIG wrote: Loup Vaillantl...@loup-vaillant.fr writes: You could also play the human compiler: use the better syntax in the comments, and implement a translation of it in code just below. But then you have to manually make sure they are

Re: [fonc] Block-Strings / Heredocs (Re: Magic Ink and Killing Math)

2012-03-14 Thread Mack
On Mar 13, 2012, at 6:27 PM, BGB wrote: SNIP the issue is not that I can't imagine anything different, but rather that doing anything different would be a hassle with current keyboard technology: pretty much anyone can type ASCII characters; many other people have keyboards (or

Re: [fonc] Block-Strings / Heredocs (Re: Magic Ink and Killing Math)

2012-03-14 Thread BGB
On 3/14/2012 11:31 AM, Mack wrote: On Mar 13, 2012, at 6:27 PM, BGB wrote: SNIP the issue is not that I can't imagine anything different, but rather that doing anything different would be a hassle with current keyboard technology: pretty much anyone can type ASCII characters; many other

Re: [fonc] Block-Strings / Heredocs (Re: Magic Ink and Killing Math)

2012-03-13 Thread BGB
On 3/12/2012 9:01 PM, David Barbour wrote: On Mon, Mar 12, 2012 at 8:13 PM, Julian Leviston jul...@leviston.net mailto:jul...@leviston.net wrote: On 13/03/2012, at 1:21 PM, BGB wrote: although theoretically possible, I wouldn't really trust not having the ability to use

Re: [fonc] Block-Strings / Heredocs (Re: Magic Ink and Killing Math)

2012-03-13 Thread David Barbour
On Tue, Mar 13, 2012 at 5:42 AM, Josh Grams j...@qualdan.com wrote: On 2012-03-13 02:13PM, Julian Leviston wrote: What is text? Do you store your text in ASCII, EBCDIC, SHIFT-JIS or UTF-8? If it's UTF-8, how do you use an ASCII editor to edit the UTF-8 files? Just saying' ;-) Hopefully

Re: [fonc] Block-Strings / Heredocs (Re: Magic Ink and Killing Math)

2012-03-13 Thread Mack
I couldn't agree more. text and files are just encoding and packaging. We routinely represent the same information in different ways during different stages of a program or system's lifecycle in order to obtain advantages relevant to the processing problems at hand. In the past, it has been

Re: [fonc] Block-Strings / Heredocs (Re: Magic Ink and Killing Math)

2012-03-13 Thread Julian Leviston
On 14/03/2012, at 2:11 AM, David Barbour wrote: On Tue, Mar 13, 2012 at 5:42 AM, Josh Grams j...@qualdan.com wrote: On 2012-03-13 02:13PM, Julian Leviston wrote: What is text? Do you store your text in ASCII, EBCDIC, SHIFT-JIS or UTF-8? If it's UTF-8, how do you use an ASCII editor to

Re: [fonc] Block-Strings / Heredocs (Re: Magic Ink and Killing Math)

2012-03-13 Thread BGB
On 3/13/2012 4:37 PM, Julian Leviston wrote: On 14/03/2012, at 2:11 AM, David Barbour wrote: On Tue, Mar 13, 2012 at 5:42 AM, Josh Grams j...@qualdan.com mailto:j...@qualdan.com wrote: On 2012-03-13 02:13PM, Julian Leviston wrote: What is text? Do you store your text in ASCII,

Re: [fonc] Block-Strings / Heredocs (Re: Magic Ink and Killing Math)

2012-03-12 Thread Josh McDonald
Since it's your own system end-to-end, why not just stop editing source as a stream of ascii characters? Some kind of simple structured editor would let you put whatever you please in strings without requiring any escaping at all. It'd also make the parsing simpler :) -- Enjoy every sandwich. -

Re: [fonc] Block-Strings / Heredocs (Re: Magic Ink and Killing Math)

2012-03-12 Thread BGB
On 3/12/2012 6:31 PM, Josh McDonald wrote: Since it's your own system end-to-end, why not just stop editing source as a stream of ascii characters? Some kind of simple structured editor would let you put whatever you please in strings without requiring any escaping at all. It'd also make the

Re: [fonc] Block-Strings / Heredocs (Re: Magic Ink and Killing Math)

2012-03-12 Thread Julian Leviston
On 13/03/2012, at 1:21 PM, BGB wrote: although theoretically possible, I wouldn't really trust not having the ability to use conventional text editors whenever need-be (or mandate use of a particular editor). for most things I am using text-based formats, including for things like

Re: [fonc] Block-Strings / Heredocs (Re: Magic Ink and Killing Math)

2012-03-12 Thread David Barbour
On Mon, Mar 12, 2012 at 8:13 PM, Julian Leviston jul...@leviston.netwrote: On 13/03/2012, at 1:21 PM, BGB wrote: although theoretically possible, I wouldn't really trust not having the ability to use conventional text editors whenever need-be (or mandate use of a particular editor). for

[fonc] Block-Strings / Heredocs (Re: Magic Ink and Killing Math)

2012-03-10 Thread BGB
On 3/10/2012 2:21 AM, Wesley Smith wrote: most notable thing I did recently (besides some fiddling with getting a new JIT written), was adding a syntax for block-strings. I used[[ ... ]] rather than triple-quotes (like in Python), mostly as this syntax is more friendly to nesting, and is also