Writing a parser


RE: Writing a parser
#3
(2020-02-20, 22:36)Michael Horvath Wrote: I'm starting to write my own parser that will convert an MPD file to JSON format.

Are the FILE, Name:, Author:, !LICENSE, ROTATION properties case-sensitive? Will they always be the same case or should I ignore case?

Thanks.

For METAs, per the spec:
"In a META command, a keyword follows the line type in the line. The keyword must be in all caps"

So I'd say that, yes, these commands are case-sensitive.

filenames, however, are not.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Writing a parser - by Michael Horvath - 2020-02-20, 22:36
RE: Writing a parser - by Jarema - 2020-02-20, 22:40
RE: Writing a parser - by Orion Pobursky - 2020-02-20, 22:57
RE: Writing a parser - by Michael Horvath - 2020-02-20, 23:07
RE: Writing a parser - by Orion Pobursky - 2020-02-21, 0:33
RE: Writing a parser - by Michael Horvath - 2020-02-21, 3:02
RE: Writing a parser - by Orion Pobursky - 2020-02-21, 4:04
RE: Writing a parser - by Michael Horvath - 2020-02-21, 8:06
RE: Writing a parser - by Lasse Deleuran - 2020-02-21, 11:07
RE: Writing a parser - by Michael Horvath - 2020-02-22, 1:38
RE: Writing a parser - by Michael Horvath - 2021-04-21, 3:18
RE: Writing a parser - by Gerald Lasser - 2021-04-21, 6:40
RE: Writing a parser - by Michael Horvath - 2021-04-21, 12:49

Forum Jump:


Users browsing this thread: 2 Guest(s)