Giter Club home page Giter Club logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
abc4j implements a strict version of the abc format (v1.6). This definition of 
the
format can be found here : 
http://www.norbeck.nu/abc/abcbnf.htm
In this definition , the space is not allowed between the X: and the number of 
the
tune (same for T: or any field ain general) :
field-number ::= "X:" 1*DIGIT end-of-line

I know that many tunes from the web have this blank between fields and values 
but
they don't match the v1.6 definition (maybe the v2.0 accepts it but I restrict 
the
implementation to v1.6)

You don't attach the stack trace but I think that exception occurs on your side 
at line
System.out.print("Title nĀ°1 is " + aTune.getTitles()[0]);
because aTune is null (cannot be found when invoking int tunesNb = book.size(); 
)

So yes abc4j does not recognize it (and this is a choice because it only 
validates
strict abc grammar v1.6) but it's not a defect (unless the crash occurs in the 
abc4j
part but I don't think so)

Original comment by [email protected] on 21 Oct 2008 at 5:28

from abc4j.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
Ah, well.  I now see in the grammar that they made a space a token, so it is 
picked
up during parsing instead of ignored.  Since that is an unfortunate side-effect 
of
how the language is written, I'll have to go the regex replacement route.  
Thanks for
looking into this.

Original comment by [email protected] on 21 Oct 2008 at 5:44

from abc4j.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024

Original comment by [email protected] on 16 Aug 2012 at 1:22

  • Changed state: Fixed

from abc4j.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.