RE: [abcusers] ABCp proof of concept
well if my 2p are worth at least 2p to you, do it in ansi C if you want anyone to use it. The advantages of portability and general comprehensability outweigh some fun features that nonstandard extensions may have. I like SNOBOL but I would avoid inflicting it on other people. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian M. Cepel Sent: 26 August 2004 21:37 To: [EMAIL PROTECTED] Subject: Re: [abcusers] ABCp proof of concept Steven Bennett wrote: Jeff Szuhay wrote: Uh... Objective-C? :-P (Oh, I couldn't help myself. You can slap me for that one), I wouldn't slap you for that -- I almost answered the same thing myself, but I suspect I would have meant it more seriously... grin Objective-C was a big surprise to me when I was forced to learn it for a Mac programming contract. For a language which is basically standard C with a very small set of extensions to add OO support, it's both easy to use and surprisingly powerful. It took me only a couple of months to go from being a big C++ fan to being an even bigger Objective-C fan. I now use C++ only when forced to do so -- it's *so* limited and awkward in comparison. Yes.. This is EXACTLY the post I was trying to remember. Thank you. So how about it guys... a consensus on Straight ANSI C, or Objective-C for the parser. I'm going to see if I can change the unix name of AlphabetSoup to abcP or ABCp on sourceforge. Which do you guys like better? Feel free to login and join up. //Christian -- || Christian Marcus Cepel | And the wrens have returned [EMAIL PROTECTED] icq:12384980 | are nesting; In the hollow of 371 Crown Point, Columbia, MO| that oak where his heart once 65203-2202 573.999.2370 | had been; And he lifts up his Computer Support Specialist, Sr. | arms in a blessing; For being University of Missouri-Columbia | born again. --Rich Mullins To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
Re: [abcusers] Indexing tunes
| I tried the instructions below (still looking for an index of | incipits--how are you doing Phil ;) ? ). abc2mtex does indeed give a | listing of Title plus the first bit of the tune in ABC. BUT, it takes | things out of the ABC syntax, so the music can not be readily turned | into notation. Perhaps there is an index format that would keep the | syntax, but I couldn't muddle it out of the index.tex file .. at least | at first reading. FWIW, I wrote a simple perl script to generate incipits a few years ago. I tweak it now and then, depending on how I want it to behave by default. Anyway, if you have perl (and most unixoid systems have it these days, including linux and OSX), you could grab my script: http://trillian.mit.edu/~jc/music/abc/sh/abcincip It's a standard unix filter, taking a list of file names, or reading from stdin if there are no file names on the command line. It does want an extra first arg, which is the title to use in the output. If you make any significant improvements, let me know. I'd expect that a few other people have done something like this, too. Maybe we should make a collection of them. It's not what you'd call a huge job, but it's useful. To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
Re: [abcusers] Indexing tunes
Gee, an excuse to learn perl. ;) I'll give it a try, though I'll have to learn how to use perl first. Yes, we should collect these things. Incipts are terribly useful. Chuck Boody On Monday, September 6, 2004, at 09:41 PM, John Chambers wrote: | I tried the instructions below (still looking for an index of | incipits--how are you doing Phil ;) ? ). abc2mtex does indeed give a | listing of Title plus the first bit of the tune in ABC. BUT, it takes | things out of the ABC syntax, so the music can not be readily turned | into notation. Perhaps there is an index format that would keep the | syntax, but I couldn't muddle it out of the index.tex file .. at least | at first reading. FWIW, I wrote a simple perl script to generate incipits a few years ago. I tweak it now and then, depending on how I want it to behave by default. Anyway, if you have perl (and most unixoid systems have it these days, including linux and OSX), you could grab my script: http://trillian.mit.edu/~jc/music/abc/sh/abcincip It's a standard unix filter, taking a list of file names, or reading from stdin if there are no file names on the command line. It does want an extra first arg, which is the title to use in the output. If you make any significant improvements, let me know. I'd expect that a few other people have done something like this, too. Maybe we should make a collection of them. It's not what you'd call a huge job, but it's useful. To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html