Christian wrote:
The core of our abc subsystem (please, someone suggest a name for this
thing) could be released as a library (a dll under Win32) that can be
I question the idea of it being a .dll... the purpose of this is to be a
universal parser for software written in any language, and on
A question fortheABC tools programmers
around here.
Did you hand-code your ABC parser or did you use
some standard tool (Lex, re2c, ...)?
Bye,
Remo.
Hi there! Thanks to the ones that answered my last question. In the end I
opted for re2c to create the scanner.
I've prepared a little bit more detailed description of my ideas for a
generic parser. Following Christian Cepel advice the thing has been named
ABCp.
Please head to
Hi there. I've prepared a proof of concept. It's only a scanner for ABC
files but already features Lua handlers (as well as C handlers).
I've also tried to go into details: http://www.dentato.com/abcp/poc.htm but
it's hard to be clear and precise without becoming boring!
I compiled it on WinXP
Hi Christian. You're right, comments are what I'm looking for.
I just want to add to what you said, that the scanner is 100% ANSI C (look
at abcpscan.re not at abcpscan.c!).
The next big decision to take is if the whole parser should be in C or if I
should start using Lua right now.
Consider
Hi there!
Thanks for your replays. I try to summarize the points so far (at least my
conclusions), please correct me if I'm wrong.
1) To increase portability we should stick to plain ANSI C. I'm perfectly
fine with it. The complications I was referring to, Paul, were those that
you encounter
Hi there!
As you may have noticed, I have time to dedicate to this project only
during weekends. I would never had enough time to answer to all the email on
the list so I prefer to include all the suggestion in the proof of concept.
I hope you will have the time of downloading it, see if it
I have to admit that I have absolutely no idea on how to shape an API for
the parser.
I would rather define the API first and then the data structure instead of
the other way around, the risk of over-engineering would be too high!
Two major operation should be made easy: playing and printing.
Hi there!
I've made no progress on the API. Thanks for the suggestion that a time
iterator is needed for sure, but I'm still struggling to put togheter a
meaningful API. Even understanding one of the many described on the net it's
too much for me in this moment.
I've found an interesting
Oops! I forgot the link: http://www.dentato.com/abcp
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
I had thought that this was what this list was for. Remo had suggested
to me that we initiate a sourceforge list and move discussion of ABCp
there so as not to burden this list. I did create the list, but then
soon after realized that that would be the worst thing we could do.
I soon
Any thoughts on using a tool like lex/yacc / flex/bison for parser
generation?
After some research around, I landed on re2c (http://re2c.sourceforge.net)
which is reported to create faster lexical scanners than lex. It uses a
different approach and creates a lexical scanner that has no library
You're also welcome to use the facilities of the abc.sf.net project. Just
let
me know and I give everyone involved the necessary permissions...
Many thanks, that's a great option! It will give ABCp a high visibility.
My next objective is to reach the status of beta from the current state of
Hi there!
I'm quiely working on the generic parser for ABC, the lack of news is
caused by my very short spare time!
I accepted the suggestion about adding another level of parsing. After
recognizing, say, a L: field, the a function parses the field and
extract the numerator and denominator of
Hi! You wrote:
I have some real-life files that often causes some software problems,
since I tend to notate more chromatic music than most (what ever that
means...). I could send you a few, if you'd like...
Thanks, I'd appreciate! You could zip and send them to via email. If we
you find any
Thanks everyone for the directions on the test files, I've started to
collect them and I'll give them a serious look next weekend!
Hudson suggestion
P.S. Please take in account tuplets with many digits, like
(11:8:11CDEFGABcde^f
made me think about the needing for a T_ENDNPLET token. In other
Hudson Lacerda wrote:
It seems that you coded a line continuation similar to those of bash or C
That's what I did. Continuation gets reported (a T_CONTINUE event) and
the scanner stays in the same state.
[V:1] abcde \
[V:2] ABCDE \
[V:1] cdedc
[V:2] CDEDC
is equivalent to:
[V:1] abcde cdedc
Most of the examples I've examined (thanks again folks!) use a single
uppercase letter for denoting each part. P:A in a tune means this is
the part 'A' and P:ABACAB at the beginning means, if I understood it
correctly, play part A, then B, then C
This is what the standards suggest but in
I still have to fix parts and continuations with the latest suggestion
but there's something else that I can do very quickly: can anyone tell
me what the decoration J is?
Tnx.
R.D
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
Thanks. I'll take as a sinonym for +slide+ then!
R.D.
John Chambers wrote:
Remo D. asks:
| I still have to fix parts and continuations with the latest suggestion
| but there's something else that I can do very quickly: can anyone tell
| me what the decoration J is?
In abc2ps, it produces the short
Neil Jennings wrote:
Because the P: text appears above the staff, people have mis-used it to add
comments which have nothing to do with parts.
In the tune header, it can have a formula such as (AB)2(AC)3
In the body, it must be just a single letter
HARMONY can play tunes according to the formula,
I've made some changes and some testing. Everything is far from being
stable or even usable but for those that are interested I've uploaded
the source on sourceforge.net: http://sourceforge.net/projects/abcp.
I've included in the zip file the executable for re2c (as long as the
source files)
).
Toby
On Thu, 14 Oct 2004, Remo D. wrote:
I'm happy to see that the list is back again.
The only problem I see now is that the new messages are no longer
archived at http://www.mail-archive.com/
Is there any other archive around?
R.D.
To subscribe/unsubscribe, point your browser to: http
Neil Jennings wrote:
I still think my suggestion is more general, as it allows the internal
part name (one letter) to be totally independent of the displayed text
(Part description).
Remo's proposal would only allow one word (part name) to start with
each letter. Therefore if there was a part
Wil Macaulay wrote:
Yes, I do have a suggestion: if you really want to implement a
'generic parser', start by choosing a standard to implement. If you
want to suggest changes to the standard, do so as an independent
process. Otherwise you'll end up with a parser that only parses
non-standard
Hi there! I think I've reached a critical point in the ABCp development
and I'm here (once again) to ask for your comment.
The low level interface is almost complete in the sense that further
improvements should be determined on a real usage basis and I'm starting
to think about the higher
I realized that the overlay operator is the only one that moves the
time backward.
I think the 2.0 standard is not very clear on this operator, I'll try to
summarize how it will implemented in ABCp, of course everything is
subject to discussions and comments from your side!!
Reading both the
Ok, I'll try to implement both and ( ... ... ) . Hudson is right,
the latter only appears in the abcm2ps docs but Tom gave a good
example of how useful it could be.
I noticed that Tom used instead of , should I consider and as
synonyms?
I'll take Phil's suggestion of emetting an error
Sébastien Tricaud wrote:
Hi folks,
Gscore is a musical score editor.
Looks interesting!
I'd like to try it, do you have a precompiled Win version? I promise
I'll install Scons and GTK library to try compile it myself but I'm sure
it won't be in a short time!
R.D
To subscribe/unsubscribe, point
And if anyone needs it, I've built Windows binaries. Just drop me an
email and I'll send them to whoever is interested.
R.D.
Martin Tarenskeen wrote:
But I have built an RPM package on my Linux Redhat FC2 system. After
installing it, pmw should be ready to use.
To subscribe/unsubscribe, point
Bernard Hill wrote:
But what's the apostrophe for? And what ascii character is it and how
is it produced on keyboards anyway?
It's a back quote (ASCII 96) according the 2.0 draft is to be ignored:
A`B is equivalent to AB.
On Dos/Win platform you can get it with Alt+96 (on the numeric keypad).
I've put on a page (http://abcp.sourceforge.net/abcpsyn.shtml) a very
terse description of the syntax ABCp is able to recognize.
As always I offer it to your criticism. Feel free to ask what is not
clear (I put together the doc on the fly).
What I'm really interested in is to understand if I
32 matches
Mail list logo