[quote]Also, your examples are all fitting on one page. I do have problems matching braces in Java for large methods that don’t fit on one screen with heavily nested blocks. Ignore for the moment the argument that such methods are “too big” ;-). You often see people putting comments by the closing brace just for the purpose of identifying what it goes with.
[/quote]
I use jEdit, so I can have braces highlighting, and a nice comment created from opening brace in the status bar.
LOL.
BML is great ;D
Help spread the word. 
Another issue with using “something better” is that most games developers using java aren’t capable of using a parser-generator. If you are, cool, you have no probs making custom formats like this. But for the poor souls who haven’t worked out the arcane and usually poorly documented systems (“its sort of like yacc but different. Someone should write some docs”. Oh. Thanks. Throw us a frickin bone here!) then having to write your own parser is too much of a waste of time.
PS: BML - you have a chance to correct the biggest bug in SGML: the forced use of shift for lots of your keypresses ;D. Use [ ] not { } and I’ll use it ;). Much faster to type and easier on fingers.
edit: all tongue-in-cheek, of course
[quote]PS: BML - you have a chance to correct the biggest bug in SGML: the forced use of shift for lots of your keypresses ;D. Use [ ] not { } and I’ll use it ;). Much faster to type and easier on fingers.
[/quote]
Excepth thats ALt Gr all the time for me - there are other people in the world that don’t have an UK keyboard layout 
[quote]there are other people in the world that don’t have an UK keyboard layout 
[/quote]
Then they shall be educated ;D
For me, { and [ are the same number of keypresses (altgr + 7 and 8). < is just one keypress, but > is two (shift + <).
I chose {} mostly because that’s what java and c++ (et al) use, so it’d be familiar at least to programmers.
I’d volunteer to write a bml sax parser if someone else agrees to write the dom parser. 
Then we’ll send an email to w3c saying “we appreciate you put a lot of effort into xml, but we thought it’d be a good idea to change to something better before it gets too much momentum”
Still not being serious, btw. 
I’m afraid xml already has far too much momentum.
For me, { and [ are the same number of keypresses
Same here.
Shouldn’t this line:
?bml(version=“1.0”,encoding=“UTF-8”)?
look like…
bml(version=“1.0”,encoding=“UTF-8”)
(no {}=empty body ;))
hmm…
<?xml version="1.0" encoding="UTF-8"?>
<Recipe name="bread" prep_time="5 mins" cook_time="3 hours">
<title>Basic bread</title>
<ingredient amount="3" unit="cups">Flour</ingredient>
<ingredient amount="0.25" unit="ounce">Yeast</ingredient>
<ingredient amount="1.5" unit="cups">Warm Water</ingredient>
<ingredient amount="1" unit="teaspoon">Salt</ingredient>
<Instructions>
<step>Mix all ingredients together, and knead thoroughly.</step>
<step>Cover with a cloth, and leave for one hour in warm room.</step>
<step>Knead again, place in a tin, and then bake in the oven.</step>
</Instructions>
</Recipe>
bml(version="1.0",encoding="UTF-8")
Recipe(name="bread",prep_time="5 mins",cook_time="3 hours")
{
title{Basic bread}
ingredient(amount="3",unit="cups"){Flour}
ingredient(amount="0.25",unit="ounce"){Yeast}
ingredient(amount="1.5",unit="cups"){Warm Water}
ingredient(amount="1",unit="teaspoon"){Salt}
Instructions
{
step{Mix all ingredients together, and knead thoroughly.}
step{Cover with a cloth, and leave for one hour in warm room.}
step{Knead again, place in a tin, and then bake in the oven.}
}
}
iml version="1.0" encoding="UTF-8"
Recipe name="bread" prep_time="5 mins" cook_time="3 hours":
title: Basic bread
ingredient amount="3" unit="cups": Flour
ingredient amount="0.25" unit="ounce": Yeast
ingredient amount="1.5" unit="cups": Warm Water
ingredient amount="1" unit="teaspoon": Salt
Instructions:
step: Mix all ingredients together, and knead thoroughly.
step: Cover with a cloth, and leave for one hour in warm room.
step: Knead again, place in a tin, and then bake in the oven.
xml: 626 bytes
bml: 528 bytes
iml: 510 bytes
The ‘i’ obviously stands for “indention”, which is part of the syntax (as seen in python). Of course it’s fundamentally flawed. Heh. But it looks quite nice 
Why not use FML why we are about it. In particular FML IV (aka FML-66), rather than FML-77 or FML-90 ;D
PROGRAM BREAD
c
c FML VERSION IV
c
INTEGER*4 RECIPE(3), UNIT(4)
REAL AMOUNT
DATA RECIPE/'BRED','5MIN','3HRS'/
DATA AMOUNT/3.0/1.5/1/
DATA UNIT/'CUPS'/'OUNC'/'CUPS'/'TEAS'/
WRITE(6,10)
10 FORMAT(51HMIX ALL INGREDIENTS TOGETHER, AND KNEAD THOROUGHLY.)
WRITE(6,20)
20 FORMAT(56HCOVER WITH A CLOTH, AND LEAVE FOR ONE HOUR IN WARM ROOM.)
WRITE(6,30)
30 FORMAT(55HKNEAD AGAIN, PLACE IN A TIN, AND THEN BAKE IN THE OVEN.)
STOP
END
Alan
write your own parser and be happy… 