Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
jod dictionary dump scripts
J
branch: master
Failed to load latest commit information.
.gitattributes joddumps first comit
.gitignore first pull from githup joddumps
LICENSE.md add LICENSE.md
README.md minor README.md edits
bitjd.ijs update blog month hits counts
docs.ijs use ASCII85 encoding
gps.ijs use ASCII85 encoding
hack.ijs post J conference - JOD version 0.9.85
image.ijs
import.ijs publish joddumps on github
jod.ijs update jod.ijs, revise README.md to show open dictionaries
joddev.ijs increment JOD dev to next version 0.9.97
jodtinycube.png add JOD logo to README.md
mobile.ijs post J conference - JOD version 0.9.85
oldjar.ijs post J conference - JOD version 0.9.85
play.ijs tweak play and joddev
smug.ijs
smugdev.ijs edits made for (jacks) repo
utils.ijs joddev utils changes

README.md

joddumps README

This repository holds JOD dictionary dump scripts.

A JOD dump script is a serialized ASCII script that may be used to create, update or archive a JOD dictionary database. This repository contains current versions of my working JOD dictionaries. For more about JOD see the The JOD Page.

The following example shows how to restore JOD dictionaries from repository dump scripts.

  1. Use Git to pull scripts to a local joddumps directory.

    git init
    git remote add joddumps https://github.com/bakerjd99/joddumps.git
    git pull joddumps master
    
  2. Start J, load JOD and create dictionaries. JOD is a J addon use JAL to install it.

    load 'general/jod'
    
    newd 'utils';'c:/users/owner/j64-601/utils'
    newd 'jod';'c:/users/owner/j64-601/jod'
    newd 'joddev';'c:/users/owner/j64-601/joddev'
    
  3. Run the dump scripts:

    od 'utils'
    0!:0 <'c:/joddumps/utils.ijs'
    0 globs&> }. revo ''  NB. rebuilds cross references
    3 od ''
    
    od ;:'jod utils'
    0!:0 <'c:/joddumps/jod.ijs'
    0  globs&> }. revo '' 
    3 od ''
    
    od ;:'joddev jod utils'
    0!:0 <'c:/joddumps/joddev.ijs'
    0  globs&> }. revo '' 
    3 od ''
    

After the dump scripts are loaded into dictionaries they can be opened and used by JOD.

      od ;:'joddev jod utils' [ 3 od ''

      did ~ 0
    ┌─┬────────────────────────────────────────────────────────────────┐
    │1│┌──────┬──┬─────┬─────┬───────┬───────┬──────┬─────────────────┐│
    │ ││      │--│Words│Tests│Groups*│Suites*│Macros│Path*            ││
    │ │├──────┼──┼─────┼─────┼───────┼───────┼──────┼─────────────────┤│
    │ ││joddev│rw│75   │5    │4      │0      │13    │/joddev/jod/utils││
    │ │├──────┼──┼─────┼─────┼───────┼───────┼──────┼─────────────────┤│
    │ ││jod   │ro│662  │43   │20     │6      │55    │/jod/utils       ││
    │ │├──────┼──┼─────┼─────┼───────┼───────┼──────┼─────────────────┤│
    │ ││utils │ro│330  │7    │17     │0      │9     │/utils           ││
    │ │└──────┴──┴─────┴─────┴───────┴───────┴──────┴─────────────────┘│
    └─┴────────────────────────────────────────────────────────────────┘

John Baker December 31, 2013

Something went wrong with that request. Please try again.