I've been looking to get at least my eyes back on some Perl. ( Though
I can't believe I just said that )
Give me a month, and if you want to get your hands dirty, you and I
can take on yet another one of those jobs that sound like they are
made for us
So... ruby community... do you want Perl6::Form ?
ยทยทยท
On 4/16/06, James Edward Gray II <james@grayproductions.net> wrote:
On Apr 16, 2006, at 4:28 PM, Gregory Brown wrote:
> On 4/16/06, James Edward Gray II <james@grayproductions.net> wrote:
>> On Apr 16, 2006, at 9:55 AM, Gregory Brown wrote:
>>
>>> Porting the perl lib might be a cheap and easy way out.
>>
>> I just think, if we are going to ask HighLine to do a lot of wicked
>> formatting, why not just add an uber cool formatting library to the
>> mix. I'm not saying it has to be the Perl 6 library, but there are
>> at least some good ideas there:
>>
>> Exegesis 7
>>
>> This seems like it could be a huge win for Ruport as well...
>
> Hmm... this does sound interesting... and could definitely be good for
> Ruport too. Unfortunately for the next 4->5 weeks, I have to do
> boring 'real' work at work and school. After that, I'm all good to go
> though, so this might be one of the first things I jump on.
I checked the source. It's 1,300+ lines of code. That won't be an
easy port. I still say it could be nice though...
>>
>>> Porting the perl lib might be a cheap and easy way out.
>>
>> I just think, if we are going to ask HighLine to do a lot of wicked
>> formatting, why not just add an uber cool formatting library to the
>> mix. I'm not saying it has to be the Perl 6 library, but there are
>> at least some good ideas there:
>>
>> Exegesis 7
>>
>> This seems like it could be a huge win for Ruport as well...
>
> Hmm... this does sound interesting... and could definitely be good for
> Ruport too. Unfortunately for the next 4->5 weeks, I have to do
> boring 'real' work at work and school. After that, I'm all good to go
> though, so this might be one of the first things I jump on.
I checked the source. It's 1,300+ lines of code. That won't be an
easy port. I still say it could be nice though...
One of the hackers in the BYU Ruby Users Group is already working on
this. I'm cross-posting to try to get the conversation started.
ยทยทยท
On 4/16/06, James Edward Gray II <james@grayproductions.net> wrote:
On Apr 16, 2006, at 4:28 PM, Gregory Brown wrote:
> On 4/16/06, James Edward Gray II <james@grayproductions.net> wrote:
>> On Apr 16, 2006, at 9:55 AM, Gregory Brown wrote:
ruby-talk@ruby-lang.org, Gregory Brown <gregory.t.brown@gmail.com>,
"James Edward Gray II" <james@grayproductions.net>,
ยทยทยท
On 4/16/06, Gregory Brown <gregory.t.brown@gmail.com> wrote:
On 4/15/06, James Edward Gray II <james@grayproductions.net> wrote:
> On Apr 15, 2006, at 5:00 PM, Mike Stok wrote:
>
> > Sounds like you want something similar to a table layout where both
> > the columns and contents of the cells are managed for you. I'm not
> > sure if HighLine is intended to do this...
>
> Yeah, that's my feeling. If you can separate the columns, you could
> use HighLine to wrap the text (just pass a StringIO as the output
> stream). Then you could zip() and join() the columns.
>
> I can't decide if it would be scary cool if HighLine did this, or
> grossly over-reaching it's scope...
I had suggested this when I was working on the menu system a few
months ago. I wanted to add a HighLine table class. I can't remember
why we didn't. It may have been that it was beyond the scope, it may
have been that I didn't have the necessary voodoo at the time to do it
nicely, might have been laziness. Can't remember.
I actually would be willing to work on this, if I could find the time.
But I'm not sure if that's going to happen or if it's really
something HighLine needs.
Porting the perl lib might be a cheap and easy way out.
Just a quick comment on this older thread. I ended up getting
columnization working well, thanks to Text::Reform[1] .. if fuller
columnization support for Highline is still on the radar, perhaps
lifting the functionality from them would be possible?
I'm going to tinker and see if the need is indeed there. I may do it
just for the learning experience or because I want to make a
translator back and forth for mud markup.
ยทยทยท
On 4/16/06, Gregory Brown <gregory.t.brown@gmail.com> wrote:
On 4/16/06, James Edward Gray II <james@grayproductions.net> wrote:
> On Apr 16, 2006, at 2:44 PM, Sy Ali wrote:
> > colour_puts "@RBold Red @rred@YBold yellow"
> >
> Are HighLine's ERB escapes not enough for this? Can you show an
> example where you have to bust a String up?
Hmm... this is really what those ERB escapes are for... so if there is
a problem that they aren't solving, we'll need to consider that...
Still, I think this can be done via ERB.