lp://staging/~psmay/+junk/risle.exp.dev

Created by Peter S. May and last modified
Get this branch:
bzr branch lp://staging/~psmay/+junk/risle.exp.dev
Only Peter S. May can upload to this branch. If you are Peter S. May please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
Peter S. May
Status:
Development

Recent revisions

11. By Peter S. May <dro@flux>

* examples: sx.
* examples/modules.js: Doc on how to set up home and modules.
* Makefile: Added variable to make changing the default home dir simpler.

10. By Peter S. May <dro@flux>

* pending-call.js from hg-js-microlibs is slightly better than counter.js, which was removed. Note that general.h is added to this file to allow use of isFunction().
* delay-chain.js is adjusted for pendingCall instead of getCounter. The definition of $LAB.delayed and its members is simplified. $LAB.delayed.chain is added as a synonym for $LAB.delayed.
* main-inclusions.js reflects change from counter.js to pending-call.js.

9. By Peter S. May <pmay@pmay-desktop>

* delay-chain.js: Added more Closure export quotes that were missed before. Delay chains now store function names and argument lists rather than entire closures. A macro helps even this out.
* loader.js: Rearranged so that automatic string/list determination is made outside use(). The determination is now also used when picking sublists out of the modules tree, so that it is now possible to use spec strings instead of proper arrays. (This isn't tested but is the intent.)
* modules.js: Simplified according to change in loader.js.

8. By Peter S. May <pmay@pmay-desktop>

* counter.js: A generalization of semaphorish counting, a function that hands out "ticket functions" which, when all have been called, trigger a callback.
* delay-chain: A $LAB look-alike object that queues up actions for a $LAB but doesn't execute them until .done() and any functions returned by .hold() are called at least once (see counter.js for mechanism). This adds $LAB.delayed(), $LAB.delayed.script(), and $LAB.delayed.wait().
* loader.js: Doc changes. A ton of logic was stripped out in favor of using delay-chain.js. Quoted members for Closure export. Now adds $LAB.risle.use(), $LAB.risle.useString(), and $LAB.risle.useList().

* modules.js
* main-from-labjs.js
 Quoted members for Closure export.

* main-inclusions.js: Updated for new sources.

7. By Peter S. May <pmay@pmay-desktop>

* main-settings.js: s.x.
* Makefile: CPPFLAGS argument was added to allow DEFAULT_HOME_PATH to be defined at build time.
* general.h: DEFAULT_HOME_PATH now only defined if not already defined.
* modules.js: $LAB defaults set to disallow duplicates.

6. By Peter S. May <pmay@pmay-desktop>

Things seem to be almost completely functional, at least nominally. Future checkins should detail the things that have been modified.

5. By Peter S. May <pmay@pmay-desktop>

In this version, at least a minimal subset of operation seems to work. When included on an HTML page that already has the meta tag "<meta name='risle:use' content='jQuery :runMeOnJQuery'/>" and defines the function runMeOnJQuery(), then it does exactly what it's told. The modules piece needs to be externalized, as currently a recompile is necessary to change it. Ultimately, the modules might just be a separate file. It would make things easy.

4. By Peter S. May <http://psmay.com/>

* general.h: Added macros (diff).
* lexicals.js: Refers to JavaScript nigh-constants as lexicals for easier compression.
* loader.js: Updated to use (some) new macros and lexicals.
* main-inclusions.js: Added include for lexicals.jsl.

3. By Peter S. May <pmay@pmay-desktop>

* ncname-definer.js: ^$ added to final regexes. Leading colon pattern added.
* general.h: diff
* loader.js: Mostly added doc and notes, not complete.
* ncname.h: Regenerated.

2. By Peter S. May <http://psmay.com/>

* ncname-definer.js: Rhino script that can be used to generate ncname.h.
* general.h: General macro includes and definitions.
* ncname.h: Macros for regex literals for the NCName construct.
* loader.js: Elaborated intended documentation.
* main-inclusions.js: Now brings in loader.js.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers