[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 12/255: headers
From: |
Eric Schulte |
Subject: |
[elpa] 12/255: headers |
Date: |
Sun, 16 Mar 2014 01:02:09 +0000 |
eschulte pushed a commit to branch go
in repository elpa.
commit 08031751b42413de4fb5718cc4646959d871d5c2
Author: Eric Schulte <address@hidden>
Date: Tue May 15 08:39:30 2012 -0400
headers
---
sgf.el | 46 +++++++++++++++++++++++++++++++++++-----------
1 files changed, 35 insertions(+), 11 deletions(-)
diff --git a/sgf.el b/sgf.el
index ad693c3..8a66397 100644
--- a/sgf.el
+++ b/sgf.el
@@ -1,9 +1,39 @@
;;; sgf.el --- Smart Game Format (focused on GO)
-;; http://www.red-bean.com/sgf/sgf4.html
-;; http://www.red-bean.com/sgf/properties.html
+;; Copyright (C) 2012 Eric Schulte <address@hidden>
-;;; BNF
+;; Author: Eric Schulte <address@hidden>
+;; Created: 2012-05-15
+;; Version: 0.1
+;; Keywords: game go
+
+;; This file is not (yet) part of GNU Emacs.
+;; However, it is distributed under the same license.
+
+;; GNU Emacs is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 3, or (at your option)
+;; any later version.
+
+;; GNU Emacs is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs; see the file COPYING. If not, write to the
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
+
+;;; Commentary:
+
+;; This file implements a reader, writer and visualizer for sgf files.
+;; The sgf format is defined at http://www.red-bean.com/sgf/sgf4.html.
+
+;;; Syntax:
+
+;; BNF
+;;
;; Collection = GameTree { GameTree }
;; GameTree = "(" Sequence { GameTree } ")"
;; Sequence = Node { Node }
@@ -15,12 +45,8 @@
;; ValueType = (None | Number | Real | Double | Color | SimpleText |
;; Text | Point | Move | Stone)
-;;; There are two types of property lists: 'list of' and 'elist of'.
-;; 'list of': PropValue { PropValue }
-;; 'elist of': ((PropValue { PropValue }) | None)
-;; In other words elist is list or "[]".
-
-;;; Property Value Types
+;; Property Value Types
+;;
;; UcLetter = "A".."Z"
;; Digit = "0".."9"
;; None = ""
@@ -35,8 +61,6 @@
;; Stone = game-specific
;; Compose = ValueType ":" ValueType
-;; an example is at the bottom of the page
-
;;; Comments:
;; - an sgf tree is just a series of nested lists.
- [elpa] 02/255: parse nodes, (continued)
- [elpa] 02/255: parse nodes, Eric Schulte, 2014/03/15
- [elpa] 04/255: parse-many macro, Eric Schulte, 2014/03/15
- [elpa] 05/255: parse-nodes, Eric Schulte, 2014/03/15
- [elpa] 03/255: parse-prop -> parse-props, Eric Schulte, 2014/03/15
- [elpa] 08/255: parsing simple trees, Eric Schulte, 2014/03/15
- [elpa] 06/255: passing all tests, Eric Schulte, 2014/03/15
- [elpa] 07/255: some fixes, Eric Schulte, 2014/03/15
- [elpa] 11/255: ignore data directory, Eric Schulte, 2014/03/15
- [elpa] 14/255: processing simple/core properties, Eric Schulte, 2014/03/15
- [elpa] 13/255: splitting into sections & stubbing out parsing, Eric Schulte, 2014/03/15
- [elpa] 12/255: headers,
Eric Schulte <=
- [elpa] 15/255: board display, Eric Schulte, 2014/03/15
- [elpa] 22/255: example sgf file generated using gcoban, Eric Schulte, 2014/03/15
- [elpa] 17/255: not using "I" as an index, Eric Schulte, 2014/03/15
- [elpa] 20/255: alright "i" *is* a valid position identifier, Eric Schulte, 2014/03/15
- [elpa] 16/255: cleaned up board printing, Eric Schulte, 2014/03/15
- [elpa] 09/255: parsing more complex trees, Eric Schulte, 2014/03/15
- [elpa] 19/255: moving games/ -> sgf-files/, Eric Schulte, 2014/03/15
- [elpa] 10/255: helper functions, Eric Schulte, 2014/03/15
- [elpa] 24/255: right and left implemented but buggy, Eric Schulte, 2014/03/15
- [elpa] 23/255: more complex but more intuitive and useful `range', Eric Schulte, 2014/03/15