Revision: 6817
Author:
jand...@gmail.com
Date: Mon May 20 07:34:44 2013
Log: comment about converter functionality
http://code.google.com/p/ppwcode/source/detail?r=6817
Modified:
/javascript/vernacular/semantics/trunk/src/semantics/Value.js
=======================================
--- /javascript/vernacular/semantics/trunk/src/semantics/Value.js Tue May
14 06:21:57 2013
+++ /javascript/vernacular/semantics/trunk/src/semantics/Value.js Mon May
20 07:34:44 2013
@@ -8,6 +8,13 @@
// Values are immutable after construction.
// They are constructed with a kwargs argument.
// For JSON-inification, toString, typeDescription, see
PpwCodeObject.
+ // description:
+ // Constructors of concrete types should have a property format
+ // and parse, that are functions that can format (turn into a
user-oriented
+ // string) instances of that type, and parse strings into
instances
+ // of that type.
+ // format: Value x Options --> String
+ // parse: String x Options --> Value, ParseException
_c_invar: [