0 carbon Posted November 5, 2012 Report Share Posted November 5, 2012 As well as m (eg 2m) for minors and M for majors, would be a good short form to have an abbreviation for a suit bid (vs NT) eg "T" (for tie, as suits should be worn with ties....) Quote Link to comment Share on other sites More sharing options...
nige1 Posted February 7, 2013 Report Share Posted February 7, 2013 How's it going Kungsgeten? As an admirer of your work, I wish we could rekindle interest in your projects. What do you think of kgr's bml2Html project?Between you, you have extended and simplifed fred's Full Disclosure idea. Is there any prospect of incorporating your accomplishments into BBO? Quote Link to comment Share on other sites More sharing options...
Kungsgeten Posted February 11, 2013 Author Report Share Posted February 11, 2013 Its kind of standing still right now. I've had a lot of work and not much time for spare time projects (except for playing bridge, ofcourse) ;) However I've started to rewrite the Python BML code, to incorporate some of the ideas I've written about in this thread. I think it'll be better than the previous version, but it is possible that some existing BML-files will need to be rewritten. I think kgr's project is cool, although kind of similar to this: http://bridge.downagain.be/FD/ The problem with BML is that is kind of inefficient to parse. It is made to be easy to read and write for humans, not computers. With the new program I'm writing, however, I try to have a more general approach. A data structure is created from the BML file, containing the bids and metadata. This data structure can then be converted into various formats (BSS etc). I don't know yet if I'll succeed with this, but we'll see. I do not know if fred is aware of the BML project, but perhaps I could contact him. FD seems to be a bit "forgotten", since it is so cumbersome to get your system into the web client. Quote Link to comment Share on other sites More sharing options...
benfinns Posted March 19, 2013 Report Share Posted March 19, 2013 Hi Kungsgeten, The BML is fantastic! I am converting my bidding system to BML. A suggestion: Why not allow parameters to be added when including a module? For example, I would to write:INCLUDE multi.bml !SEAT=12 !VUL=00 This would allow me to reuse modules more efficiently without needing separate modules depending on seat and vulnerability. Just my 2 cents Quote Link to comment Share on other sites More sharing options...
Kungsgeten Posted March 26, 2013 Author Report Share Posted March 26, 2013 I've begun to rewrite BML. The focus this time around is for BML to be not only a way to generate BSS-files, but also complete system documents! The goal is still to make the "code" highly readable and easy to write. My first goal is to have three export formats: BSS, html and LaTeX. There will be some new features, many which are suggested in this thread, but I haven't implemented all the old ones yet. Here's an example of the current syntax (inspired by org-mode in the text editor Emacs): * Sjöman 5542 Transfer 5542 as played by Erik Sjöstrand and Lennart Kjellman. 1C Natural / 11--13 bal / 17--19 bal 1D 4+!d, unbalanced, 11+ hcp 1HS 5+ suit, 11+ hcp 1N 14--16, may be semibal 2C Multi. GF / 20--21 bal / Weak (5)6+!d / Weak (5)6+!s 2D Flannery. 5+!h, 4!s, 11--16 hcp 2HS 6+ suit, 10--13 hcp 2N 22--24 bal Yes, it is correct that no traditional weak opening in hearts is available. ** The 2!c multi Opening 2!c shows one of the following: 1. Any GF 2. 20--21 balanced 3. Weak with 5+!d or 5+!s, about 5--9 hcp The weak alternatives should normaly show a 6 suiter, but may be a five card suit if appropriate. 2C-- 2D Non-forcing relay 2H Weak spades / GF with hearts / 25--27 bal 2S Non-forcing relay 2N 25--27 bal 3C GF transfer. Hearts + diamonds 3D GF transfer. Hearts one-suiter 3H GF transfer. Hearts + spades 3S GF transfer. Hearts + clubs 3N GF with hearts. Non-forcing. 2N 20--21 bal 2H Forcing relay 2S Any hand with spades 2N Feature ask 2N GF hand 3C Max with diamonds 3D Min with diamonds 2S Preemptive, 3+!d The HTML output for the code above (right now, still early development) looks like this: bml2html The text in the paragraphs will not be exported to BSS (when the BSS export feature is reimplemented), only the bidtables. Quote Link to comment Share on other sites More sharing options...
Kungsgeten Posted March 31, 2013 Author Report Share Posted March 31, 2013 The new, completely rewritten, version of BML can be found at GitHub! 1 Quote Link to comment Share on other sites More sharing options...
skaftij Posted March 31, 2013 Report Share Posted March 31, 2013 Interesting! Quote Link to comment Share on other sites More sharing options...
nige1 Posted April 1, 2013 Report Share Posted April 1, 2013 The new, completely rewritten, version of BML can be found at GitHub! I hope BBO takes advantage of Kungsgeten's clever stuff -- by incorporating FD into the web-client -- or basing an alternative disclosure system directly on BML. Quote Link to comment Share on other sites More sharing options...
Cthulhu D Posted June 26, 2013 Report Share Posted June 26, 2013 I hope BBO takes advantage of Kungsgeten's clever stuff -- by incorporating FD into the web-client -- or basing an alternative disclosure system directly on BML. Yeah, for sure - this is so easy to write compared to FD which is impossible to manage as a human being. I can quite quickly author openings + responses and that's about 85% of your disclosure burden right there. Quote Link to comment Share on other sites More sharing options...
pintu123 Posted February 25, 2015 Report Share Posted February 25, 2015 Hi,The bml.py close soon after opening. I tried it in cmd prompt but it is not working.Need help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts