Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
201
1.14M
id
stringlengths
3
100
title
stringlengths
3
100
tier
stringclasses
3 values
kind
stringclasses
3 values
n_chars
int64
201
1.14M
source_path
stringlengths
5
100
# About This is the wiki for the J programming language. Before you can edit the wiki, you must create an account. To do so, please email the wiki group with subject Subscribe and contents your login name (First Last) and email address. After creating an account, log in to be able to edit the wiki. You are free to ...
About
About
core
wikitext
1,028
About
# Addons/Categories ## Addon Categories Addon categories are the top-level folder names under `~addons`. Several names are pre-defined, as below: | name | description | | --- | --- | | api | Application programming interfaces | | arc | Archivers, files, zips etc. | | convert | Conversions | | data | Database | | deb...
Addons/Categories
Addons/Categories
core
wikitext
1,638
Addons/Categories
# Addons/Config/Categories The following is a list of addon categories and brief descriptions. | name | description | | --- | --- | | api | Application programming interfaces | | arc | Archivers, files, zips etc. | | convert | Conversions | | data | Database | | debug | Debugging aids | | demos | Demos | | docs | Gen...
Addons/Config/Categories
Addons/Config/Categories
core
wikitext
1,570
Addons/Config/Categories
# Addons/Developers_Checklist This page lists the various steps required to create an addon. Read the Addons/Developers Guide for an overview of the development system. You need the SVN client installed, see Subversion, and in particular, the Subversion/User Guide. You need update access to the Jsoftware reposit...
Addons/Developers_Checklist
Addons/Developers_Checklist
core
wikitext
2,120
Addons/Developers_Checklist
# Addons/Developers_Guide ## Overview Addons packages are created in github repositories, and installed in the `~addons` subfolder of a J installation. The folders are in two levels, with the top level folder being the addon category, see Addons/Config/Categories. Any name can be used for the bottom level folders. T...
Addons/Developers_Guide
Addons/Developers_Guide
core
wikitext
5,899
Addons/Developers_Guide
# Addons/GitHub *This is a proposal for github-based addons to be introduced in J807. Comments may be added here or addressed to the general forum.* ### Overview Up to now, the sole source for all addons is an SVN repo hosted by Jsoftware. This was appropriate when SVN was the most popular version control system and...
Addons/GitHub
Addons/GitHub
core
wikitext
3,323
Addons/GitHub
# Addons/Installation ## Overview For core addons (those downloadable directly from Jsoftware) and the base library, there is a Jqt GUI interface called Package Manager and a console interface using the `jpkg` verb. Other addons can be installed from github using the `install` verb. In each case you need internet a...
Addons/Installation
Addons/Installation
core
wikitext
570
Addons/Installation
# Addons/Test_scripts # Test Scripts for Addons Including test script(s) with your addon: helps prevent the introduction of bugs during development makes it easier for new developers to contribute changes without fear of screwing up provide valuable example data and usage to users The WhyTestCases page on the AP...
Addons/Test_scripts
Addons/Test_scripts
core
wikitext
4,306
Addons/Test_scripts
# Addons/Versioning ## Overview This document describes the Subversion (SVN) layout, build and install procedures in terms of addons versioning and relationship with the J system and library releases. This is largely a historical document, as addons are currently stored on github. The current version of any addon is...
Addons/Versioning
Addons/Versioning
core
wikitext
2,795
Addons/Versioning
# Addons/api/expat The api/expat addon provides a J interface to the expat xml parser. Typical use might start with: ```j require'api/expat' coinsert'jexpat' ``` as the addon defines names in the jexpat locale and expects to work with callbacks in a locale which inherits from the `jexpat` locale. Generally speakin...
Addons/api/expat
Addons/api/expat
core
wikitext
2,499
Addons/api/expat
# Addons/api/java <pre> api: public class JInterface public static String libjDir=""; // folder of J engine binary, may be empty public static String libj=""; // name of J engine binary public int callJ(String sentence) // run and return error code public String dors(String sen...
Addons/api/java
Addons/api/java
core
wikitext
4,845
Addons/api/java
# Addons/api/jc <pre> +overview J bindings for C library routines and stdin/stdout tasks J uses C name except that fopen is sopen etc. +stream s=. sopen_jc_ 'foo.txt';'w' s=. sdopen_jc_ fd;'w' sclose_jc_ s swrite_jc_ s;'data' d=. sread_jc_ s,n or _1 for all b=. stell_jc_ s sseek_jc_ s,n ...
Addons/api/jc
Addons/api/jc
core
wikitext
2,187
Addons/api/jc
# Addons/api/python3 ## Overview This addon has functions for calling J from Python. ## Setup Assuming J is already installed, use below commands to create a Python virtual environment for your project and install package. ### Windows ```j python3 -m venv MyProject cd MyProject Set-ExecutionPolicy -Scope Process ...
Addons/api/python3
Addons/api/python3
core
wikitext
2,650
Addons/api/python3
# Addons/arc/jar JAR, or J-ARchive, is a complete database system for J words, data, test cases and general scripts. JAR is also a detailed example of J object oriented programming. JAR can be used by itself or with the J project manager. Extensive documentation in Adobe PDF format is installed with JAR. J labs demon...
Addons/arc/jar
Addons/arc/jar
core
wikitext
883
Addons/arc/jar
# Addons/arc/lz4 <pre> This lz4 addon requires lz4 binary library to encode and decode lz4 raw and frame blocks. For Linux, if lz4 had not been installed, then install it by 1. Debian derivatives $ sudo apt-get install lz4 1. Redhat derivatives $ sudo dnf install lz4 For Windows and Mac, lz4 binary is bundled with...
Addons/arc/lz4
Addons/arc/lz4
core
wikitext
429
Addons/arc/lz4
# Addons/arc/zip **arc/zip** - zip file utilities Provides zip file utilities with API similar to the `files` package. Based on zlib 1.2.3 and minizip libraries. Interface API is similar to the files package. Includes Win32, Linux and Mac OS X universal binaries. Browse source and examples in SVN. ## Installation...
Addons/arc/zip
Addons/arc/zip
core
wikitext
7,467
Addons/arc/zip
# Addons/arc/ziptrees **general/ziptrees** Provides verbs for zipping and unzipping directory trees. The dirutils addon must also be installed. Browse source and examples in SVN. ## Verbs | unziptree | v | Unzip zipfile y to directory tree x. | | --- | --- | --- | | zipfiles | v | Add/Append one or more files to...
Addons/arc/ziptrees
Addons/arc/ziptrees
core
wikitext
1,156
Addons/arc/ziptrees
# Addons/arc/zlib <pre> This zlib addon requires zlib binary library to encode and decode zlib/deflate streams. When zlib binary library is un-available, it will use pure J scripts which is much less efficient. For Linux, zlib should already be installed by default in most distros. If not, install using (debian and ...
Addons/arc/zlib
Addons/arc/zlib
core
wikitext
536
Addons/arc/zlib
# Addons/convert/json convert/json supports conversion from json to a representation in J, using `dec_json`. These values can also be converted back to json using `enc_json`. For example: ```j dec_json'[1,2,3]' ┌─┬─┬─┐ │1│2│3│ └─┴─┴─┘ enc_json dec_json'[1,2,3]' [1,2,3] ``` See also: convert/pjson
Addons/convert/json
Addons/convert/json
core
wikitext
308
Addons/convert/json
# Addons/convert/misc/vig ## Vigenère Cipher As an addon, load with `load'convert/misc/vig'` The Vigenère cipher is a method of encryption that uses a series of different Caesar ciphers based on the letters of a keyword. [ Download script: vig.ijs ] ```j NB.*vig c Vigenère cipher NB. cipher=. key 0 vig charset pla...
Addons/convert/misc/vig
Addons/convert/misc/vig
core
wikitext
2,211
Addons/convert/misc/vig
# Addons/convert/misc ### toascii85 Converts to/from ascii85 representation. Defines: toascii85 `-` to ascii85 representation fromascii85 `-` from ascii85 representation ### base64 Converts to/from base64 representation. Defines: tobase64 `-` to base64 representation frombase64 `-` from base64 representation #...
Addons/convert/misc
Addons/convert/misc
core
wikitext
475
Addons/convert/misc_DirX
# Addons/convert/numpy ## Overview This addon has functions for reading and writing numpy npy and npz files. The npy files should contain a single unnested array. The result of reading an npy file is a J noun. The npz files are zips of one or more npy files. Data for reading and writing npz files should be a 2 colu...
Addons/convert/numpy
Addons/convert/numpy
core
wikitext
1,628
Addons/convert/numpy
# Addons/convert/pjson ## Overview This is a json encoder/decoder and is read into the `pjson` locale. Load with: ```j load 'convert/pjson' ``` The main functions are `enc` and `dec`: ```j enc_pjson_ 1 2 3;'hello' [[1,2,3],"hello"] dec_pjson_ enc_pjson_ 1 2 3;'hello' ┌─────┬─────┐ │1 2 3│hello│ └─────┴──...
Addons/convert/pjson
Addons/convert/pjson
core
wikitext
1,463
Addons/convert/pjson
# Addons/data/dbman **data/dbman** - simple ODBC database and query browser Provides an example of integrating the `dd` API with a simple GUI application. Browse SVN sources. ## Installation Use JAL/Package Manager or download the `data/dbman` archive from JAL:j601/addons and extract it into the `~addons/data/dbma...
Addons/data/dbman
Addons/data/dbman
core
wikitext
816
Addons/data/dbman
# Addons/data/sqlite/Basic_Usage ## Overview The addon is read into locale `psqlite`. A sqlite database is opened or created in an instance of this locale, and subsequent access uses this instance. For example, using the `sandp` database included with the addon: ```j load 'data/sqlite' db=: sqlopen_psqlite_ '...
Addons/data/sqlite/Basic_Usage
Addons/data/sqlite/Basic_Usage
core
wikitext
4,651
Addons/data/sqlite/Basic_Usage
# Addons/data/sqlite/Create A sqlite database is an ordinary file. The `sqlcreate` function creates and opens a file, and returns a database locale. ## sqlcreate This creates a database, given a file name. Any existing file is overwritten. For example: ```j load 'data/sqlite' F=: '~temp/t1.db' db=: sqlcr...
Addons/data/sqlite/Create
Addons/data/sqlite/Create
core
wikitext
695
Addons/data/sqlite/Create
# Addons/data/sqlite/Definitions Functions to open/close databases are called in the `psqlite` locale. Once a database is open, functions to access it are called in the database locale. Some examples assume the `sandp` database is open in locale `db`. ## Call SQL commands ### sqlcmd Call SQL commands, with no resul...
Addons/data/sqlite/Definitions
Addons/data/sqlite/Definitions
core
wikitext
8,449
Addons/data/sqlite/Definitions
# Addons/data/sqlite/Examples There are two sample databases included with the addon in subdirectory `db`. Other sqlite example databases are readily available on the web. sandp is the standard Suppliers and Parts database chinook is an open source database that is an alternative to Northwind. A selection of table...
Addons/data/sqlite/Examples
Addons/data/sqlite/Examples
core
wikitext
3,299
Addons/data/sqlite/Examples
# Addons/data/sqlite/Installation The addon is installed in the usual way. However, the sqlite binaries are not automatically included, because of their size. When the addon is loaded, it checks that the sqlite binary has been installed, and if so, also checks that it is up to date. If necessary, a prompt is given to...
Addons/data/sqlite/Installation
Addons/data/sqlite/Installation
core
wikitext
585
Addons/data/sqlite/Installation
# Addons/data/sqlite/Nulls User-defined nulls were added in v1.0.23. ### Null values To allow for nulls in data, the addon defines three "null value" globals in the psqlite locale. These are set whenever a database is opened. The default values are as follows, where the integer null is the largest possible negative ...
Addons/data/sqlite/Nulls
Addons/data/sqlite/Nulls
core
wikitext
2,441
Addons/data/sqlite/Nulls
# Addons/data/sqlite/Overview ## Overview The sqlite interface allows direct access to sqlite databases. The interface consists of a J script and a copy of sqlite that has been extended with functions to enable fast read/write from J. Apart from the extra functions, this is the standard sqlite and includes the full ...
Addons/data/sqlite/Overview
Addons/data/sqlite/Overview
core
wikitext
1,103
Addons/data/sqlite/Overview
# Addons/data/sqlite/Quirks ## Sqlite varying column types The sqlite database allows for columns that have more than one datatype (which is unusual for SQL databases). For example, a column of integers may have one or more values that are character strings. The data/sqlite addon assumes that all values in a column a...
Addons/data/sqlite/Quirks
Addons/data/sqlite/Quirks
core
wikitext
1,340
Addons/data/sqlite/Quirks
# Addons/data/sqlite/zFns Usually only one sqlite database is accessed at a time. In this case, it is convenient to use cover functions in the z locale that reference a global `locDB` with the sqlite instance. To read in sqlite and the cover functions: ```j load 'data/sqlite/sqlitez' ``` The cover functions are ...
Addons/data/sqlite/zFns
Addons/data/sqlite/zFns
core
wikitext
762
Addons/data/sqlite/zFns
# Addons/debug/jig ### An Updated Version of Jig **Jig is an application that extends the standard textual output of J using SVG (Scalable Vector Graphics) to provide far more information for users.** As an example, in a Jig display, nouns with a shape of 1 2 can be easily distinguished from nouns with shape 2 as n...
Addons/debug/jig
Addons/debug/jig
core
wikitext
2,460
Addons/debug/jig
# Addons/debug/lint **debug/lint** - Static sentence checker and flow analyzer for J verbs Browse history, source and examples using github. ## Operation Use `lint` in place of `load` to check your explicit definitions. lint tries to find errors before a script is run. The idea is for 'lint' to replace 'load' dur...
Addons/debug/lint
Addons/debug/lint
core
wikitext
3,605
Addons/debug/lint
# Addons/debug/tte **debug/tte** - Tacit-to-explicit verb definition converter Explicates a tacit verb `u` (the "explicand"). The result is the "explication" of `u` -- i.e. an explicit definition behaving like the original verb: `u` . Each sentence computes an intermediate result from a phrase of (tacit) `u` -- usua...
Addons/debug/tte
Addons/debug/tte
core
wikitext
4,051
Addons/debug/tte
# Addons/docs/joxygen ## Joxygen Html pages are built by Pandoc from comments in J scripts. Pandoc should be installed before running Joxygen. Documentation is read from comments that start with an arithmetic character, i.e. from the set `+-*%` . These indicate: `NB.%` script documentation `NB.*` definition docume...
Addons/docs/joxygen
Addons/docs/joxygen
core
wikitext
4,132
Addons/docs/joxygen
# Addons/docs/wikihtml **docs/wikihtml** - HTML snapshot of wiki sections This addon provides an HTML snapshot of wiki sections that document core **J** functionality. The snapshot provides for offline/local browsing of available sections. Hopefully it will soon be rendered obsolete once the PDF generation of wiki se...
Addons/docs/wikihtml
Addons/docs/wikihtml
core
wikitext
700
Addons/docs/wikihtml
# Addons/finance/finexec # Introduction Finexec is an addon for financial and actuarial computing with the J Programming Language. Objective to promote J for solving problems. # Installation Finexec is currently loaded from the GitHub repository. https://github.com/WilliamSzuch In a J session use: ```j install...
Addons/finance/finexec
Addons/finance/finexec
core
wikitext
897
Addons/finance/finexec
# Addons/format/sbox # Addon: format/sbox - Displaying boxed nouns containing Unicode glyphs ## Introduction Has anyone else felt the need to display a boxed noun which contains Unicode glyphs? Such as: ```j < u: 9017 32 9054 ``` or: ```j a=: 'dom⌹' b=: 'qqd⍞ & domino⌹' c=: (2 3) ; a ; b d=: '⍞and⌹...
Addons/format/sbox
Addons/format/sbox
core
wikitext
4,307
Addons/format/sbox
# Addons/format/zulu ## ZULU: Stringlist conversion package This package is specially addressed to newcomers to J who wish to write their own distributable app, eg for teaching purposes. Addon: ZULU loads a library of verbs to convert **stringlists** (lists, or arrays, of strings) between different formats. The fou...
Addons/format/zulu
Addons/format/zulu
core
wikitext
7,972
Addons/format/zulu
# Addons/games/minesweeper **games/minesweeper** - Basic implementation of classic Minesweeper game using different user interfaces. The main purpose of this addon is to compare and contrast different the GUI building technologies available for J. The following UI implementations are available: | **Script** | **UI ...
Addons/games/minesweeper
Addons/games/minesweeper
core
wikitext
2,491
Addons/games/minesweeper
# Addons/games/nurikabe This is a GUI for the game Nurikabe. Load the script, then run verb nurikabe as below: ```j load 'games/nurikabe' nurikabe '' NB. default game nurikabe board NB. game with given board nurikabe name;board NB. game with given name and board nurikabe filename NB. game read...
Addons/games/nurikabe
Addons/games/nurikabe
core
wikitext
363
Addons/games/nurikabe
# Addons/general/dirtrees **general/dirtrees** - Directory tree utilities Provides verbs for copying and deleting directory trees. The dirutils addon must also be installed. Browse source and examples in github. ## Verbs | copytree | v | Copies directory tree from directory y to directory x | | --- | --- | --- |...
Addons/general/dirtrees
Addons/general/dirtrees
core
wikitext
1,150
Addons/general/dirtrees
# Addons/general/dirutils **general/dirutils** - Directory utilities Provides verbs for working with directories. Required by the dirtrees and ziptrees Addons. Browse source and examples in github. ## Verbs | addPS | v | Ensures trailing path separator | | --- | --- | --- | | dropPS | v | Drops trailing path sep...
Addons/general/dirutils
Addons/general/dirutils
core
wikitext
910
Addons/general/dirutils
# Addons/general/inifiles **general/inifiles** - INI file utilities Provides verbs to read from and write to INI files or strings in INI file format. Uses regex functionality built into J and is therefore usable on all platforms (not reliant on the Windows API). Provides similar functionality to that provided by W...
Addons/general/inifiles
Addons/general/inifiles
core
wikitext
1,224
Addons/general/inifiles
# Addons/general/jod **general/jod** The JOD Page JOD PDF Documentation JOD PDF Documentation (alternate server) JOD GitHub source repository JOD Documentation in book form from amazon.com A collection of JOD Jupyter notebooks Zip archive of JOD releases current JOD addon release notes ## Installation Use Pa...
Addons/general/jod
Addons/general/jod
core
wikitext
580
Addons/general/jod
# Addons/general/joddocument **general/joddocument** This addon installs local, or offline, JOD documentation. This addon places jod.pdf in the directories expected by JOD. There is no executable code in this addon it's an optional, but highly recommended, documentation component of JOD. ## Installation Use Pacma...
Addons/general/joddocument
Addons/general/joddocument
core
wikitext
533
Addons/general/joddocument
# Addons/general/jodsource **general/jodsource** The JODSOURCE addon distributes JOD system dictionary databases as serialized dump scripts. JODSOURCE contains all source materials related to the JOD system. JODSOURCE contains: 1. All J JOD source code 2. J test scripts for JOD 3. DOT digraph code used for some i...
Addons/general/jodsource
Addons/general/jodsource
core
wikitext
1,080
Addons/general/jodsource
# Addons/general/misc # general/misc Before using these scripts you will need to ensure they have been installed. This can be done on a connected machine through J's package manager, or from the command line: ```j load 'pacman' 'install' jpkg 'general/misc' ``` If you are working offline and need to install t...
Addons/general/misc
Addons/general/misc
core
wikitext
10,608
Addons/general/misc
# Addons/general/pcall/test_comcall ```j require 'general/pcall/ole32' coinsert 'pole32' 'IJ_'idef IJ=: IDispatch,;:;<;._2(0 : 0) Do Show Log IsBusy Break Quit Get Set GetM SetM ErrorText ErrorTextM Clear Transpose ErrorTextB GetB SetB DoR ) 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2...
Addons/general/pcall/test_comcall
Addons/general/pcall/test_comcall
core
wikitext
1,965
Addons/general/pcall/test_comcall
# Addons/general/pcall/test_disp ```j require 'general/pcall/disp' p=. disp 'MSXML2.DOMDocument' 'async' put__p 0 ++ || ++ 'loadXml' do__p '<a b="q123">test</a>' 1 'xml' get__p '' <a b="q123">test</a> q1=. disp 'documentElement' get__p '' 'getAttribute' do__q1 'b' q123 q2=. d...
Addons/general/pcall/test_disp
Addons/general/pcall/test_disp
core
wikitext
1,164
Addons/general/pcall/test_disp
# Addons/general/pcall/test_icall ```j require 'general/pcall/ole32' coinsert 'pole32' 'IJ_'idef IJ=: IDispatch,;:;<;._2(0 : 0) Do Show Log IsBusy Break Quit Get Set GetM SetM ErrorText ErrorTextM Clear Transpose ErrorTextB GetB SetB DoR ) ijDoR=: [:'ci3 > i i i *w *i *i' pcall IJ_DoR ; ; CLSID_JDLLServ...
Addons/general/pcall/test_icall
Addons/general/pcall/test_icall
core
wikitext
1,398
Addons/general/pcall/test_icall
# Addons/general/pcall/test_pcall ```j require 'dll convert general/pcall' VAR1=: 'VtR1R2R3Valu' b=: #~ [: $&1 0 # h=: ([: ;:^:_1"1 [: <"1 hfd)@(([: , _4 (_2&(3!:4))@|.\ ])^:(2=3!:0)) mi=: [: {.@memr ,&(0 1,JINT) mc=: ,&0@] memr@, ,&JCHAR@[ 'CLSCTX_INPROC_SERVER CLSCTX_LOCAL_SERVER'=: 16b0001 16...
Addons/general/pcall/test_pcall
Addons/general/pcall/test_pcall
core
wikitext
1,789
Addons/general/pcall/test_pcall
# Addons/general/pcall/test_typeinfo ```j require 'dll convert general/pcall' b=: #~ [: $&1 0 # h=: ([: ;:^:_1"1 [: <"1 hfd)@(([: , _4 (_2&(3!:4))@|.\ ])^:(2=3!:0)) us=: 0&(3!:4) mi=: [: {.@memr ,&(0 1,JINT) mc=: ,&0@] memr@, ,&JCHAR@[ mI=: 4 : '{.memr y,x,1,JINT' mS=: 4 : '{.us memr y,x,2,JCH...
Addons/general/pcall/test_typeinfo
Addons/general/pcall/test_typeinfo
core
wikitext
3,115
Addons/general/pcall/test_typeinfo
# Addons/general/pcall Pointer call is a DLL function call, where function is referred to by its memory location. See also: examples in SVN folder; change history. Applications of pointer call are when the function is not part of dll map. For example callback, we are given a function address and need to call it, a...
Addons/general/pcall
Addons/general/pcall
core
wikitext
3,905
Addons/general/pcall_DirX
# Addons/general/sfl The SFL (Standard Function Library) from iMatix is a portable function library for C/C++ programs. The SFL is the result of many years of development, and is provided as Open Source software for the benefit of the Internet community. See iMatrix for a detailed description. The SFL provides about 4...
Addons/general/sfl
Addons/general/sfl
core
wikitext
776
Addons/general/sfl
# Addons/general/unittest **general/unittest** - Unit Test Framework Typical framework for test-driven development. Test units are defined in individual script file. Main verb `unittest` *file* is defined in the `z` locale. See also: examples in demo folder in SVN; change history. ## Installation Use JAL/Package...
Addons/general/unittest
Addons/general/unittest
core
wikitext
2,565
Addons/general/unittest
# Addons/graphics/bmp <p> These are .bmp files in DIB format. <p> readbmp and writebmp use RGB values (single numbers). <p> writebmp also accepts RGB triples <p> main functions: ```j readbmp read bitmap file, returning RGB data writebmp write bitmap file from RGB data readbmphdr read header from bitm...
Addons/graphics/bmp
Addons/graphics/bmp
core
wikitext
956
Addons/graphics/bmp
# Addons/graphics/color # graphics/color If you have fully installed J, you should have access to these scripts. If you are working offline and need to install these scripts you will need to obtain a copy of an archive containing them and unpack it in J's `addons` directory. Usually, `require` is sufficient to use ...
Addons/graphics/color
Addons/graphics/color
core
wikitext
10,837
Addons/graphics/color
# Addons/graphics/fvj3 The FVJ3 package provides materials for Fractals, Visualization and J, 3rd edition including scripts for simple windows for plotting polygons, working with raster arrays, or experimenting with simple openGL scenes. Also scripts for creating POV-Ray scenes, viewing automata, creating chaotic attr...
Addons/graphics/fvj3
Addons/graphics/fvj3
core
wikitext
579
Addons/graphics/fvj3
# Addons/graphics/gnuplot **graphics/gnuplot** - create gnuplot graphics Creates gnuplot graphics from J data. Tested with gnuplot V4. ## Installation Use JAL/Package Manager or download the `gnuplot` archive from JAL:j601/addons and extract it into the `~addons/graphics/gnuplot` folder. ## Usage Load with: ```j...
Addons/graphics/gnuplot
Addons/graphics/gnuplot
core
wikitext
2,722
Addons/graphics/gnuplot
# Addons/graphics/graph <table> graph: graph package <p> gdopen* opens a graphics window gd... set state gd... draw graphics gdshow* show graphics glclose win|'' close window|active window glcloseall '' close all graphics windows glselect win select graphics window <p> poi...
Addons/graphics/graph
Addons/graphics/graph
core
wikitext
4,262
Addons/graphics/graph
# Addons/graphics/graphviz **graphics/graphviz** addon for JQt is a GUI integrating open source graph visualization software graphviz, initiated by AT&T Labs Research, with J. Graphs are described using a simple text-based format called DOT. J GUI allows to choose from multiple layout engines (e.g. dot for hierarchica...
Addons/graphics/graphviz
Addons/graphics/graphviz
core
wikitext
1,830
Addons/graphics/graphviz
# Addons/graphics/pdfdraw The *pdfdraw* addon has utilities for drawing to a PDF file or a Publish JPF file. Much of the code is taken from Plot, and the idea is to support custom report graphics that could not be drawn using Plot. Unlike Plot, the graphics drawing is at a low level, so some effort is required to de...
Addons/graphics/pdfdraw
Addons/graphics/pdfdraw
core
wikitext
1,644
Addons/graphics/pdfdraw
# Addons/graphics/viewmat An introduction of the viewmat library is available here: Studio/Viewmat. A short summary: viewmat - view arbitrary table viewrgb - view table of RGB integers viewpng - view bitmap file Example to create a 20×20 square with a random black & white pattern, and a random four colour patter...
Addons/graphics/viewmat
Addons/graphics/viewmat
core
wikitext
483
Addons/graphics/viewmat
# Addons/graphics/viewmax `viewmax` enables visualization of matrices representing slices (cross-sections) of an array of arbitrary rank passed as its argument. The addon extends the functionality of the viewmat addon. ### Quick start In J9.8, `viewmax` can be loaded directly: ```j load 'viewmax' viewmax i. 3 4 5 `...
Addons/graphics/viewmax
Addons/graphics/viewmax
core
wikitext
2,961
Addons/graphics/viewmax
# Addons/gui/cobrowser **class browser** `-` famous `SmallTalk` tool for J Update of Oleg Kobchenko cobrowse using JHS and jQueryUI. Added support for JQT and J6. ```j load 'gui/cobrowser' ``` 2019/05/03 David Mitchell
Addons/gui/cobrowser
Addons/gui/cobrowser
core
wikitext
225
Addons/gui/cobrowser
End of preview. Expand in Data Studio

Dataset Card for J Wiki Continuous Pretraining

Markdown documents converted from the Jsoftware wiki for continuous pretraining (next-token prediction) of models that should read and write the J programming language.

Each row is one wiki page. J session logs and scripts are fenced as j code blocks. Leading spaces, _ negatives (for example 3j_5, _1), and boxed-array characters are kept.

Dataset Details

Dataset Sources

Uses

Direct Use

  • Continuous pretraining / domain adaptive pretraining on J
  • Language-model training with the text column (Unsloth, Hugging Face Trainer, etc.)
from datasets import load_dataset

ds = load_dataset("json", data_files="jwiki_cpt.jsonl", split="train")
# train on ds["text"]

After you push this repo:

from datasets import load_dataset
ds = load_dataset("<user>/<repo>", split="train")

Out-of-Scope Use

  • Not an instruction/Q&A dataset (no messages / prompt-response pairs)
  • Not a substitute for the live wiki (pages are a snapshot, chrome and talk pages removed)
  • Do not treat J examples as Python or Java

Dataset Structure

Data Instances

{
  "id": "Vocabulary/plus",
  "title": "Vocabulary/plus",
  "tier": "core",
  "kind": "wikitext",
  "text": "# Vocabulary/plus\n\n| `+ y` | Conjugate |\n...",
  "n_chars": 3957,
  "source_path": "Vocabulary/plus_DirX"
}

Data Fields

field type description
text string Training document (Markdown). This is the field to train on.
id string Wiki title (Foo_DirX dump files map to Foo)
title string Same as id
tier string core, user, or nycjug
kind string wikitext, html, or ijs
n_chars int Character length of text
source_path string Path relative to the wiki dump

Data Splits

A single train split. No validation split is shipped; carve one out if you need it.

split pages characters ~tokens (chars/4)
train 3108 20,069,110 5,017,277

Mix

tier pages contents
core 2127 NuVoc (Vocabulary/), Help (Primer, JforC, Learning), Essays, Guides, phrases, scripts, addons, books, …
user 745 User: pages (personal essays, notebooks, worked J)
nycjug 236 NYCJUG meeting notes: J code with walkthroughs, plus .ijs attachments
total 3108

Omitted: Talk, Template, Category, MediaWiki, Attachment; redirects; empty/binary files; Help letter indexes; supplemental product docs (J6, JHS, TABULA, …) unless you rebuild with that tier on.

Kinds: 3034 wikitext, 48 HTML-imported Help chapters, 26 .ijs scripts.

Dataset Creation

Curation Rationale

J is under-represented in general pretraining corpora. The wiki is the largest local source of NuVoc, essays, and explained J code. Continuous pretraining on these documents is the first training step; instruction data can be derived later.

Source Data

Filesystem dump of the J wiki. Pages whose title is also a directory store the body in *_DirX. HTML-imported book chapters (especially J for C Programmers) are converted with a separate HTML renderer.

Annotations

No human labels. Conversion is automatic (filter + wikitext/HTML render). Nav templates are stripped; rank/admon transclusions are expanded.

Considerations for Using the Data

  • Quality varies: NuVoc and essays are dense; User and NYCJUG pages mix polished write-ups with meeting notes.
  • Some Help chapters began as Word/HTML imports; residual layout noise can remain.
  • Token estimate is characters/4, not a model tokenizer count.
  • This is a dump snapshot, not a live mirror of the wiki.

Additional Information

Licensing Information

This dataset is released under the GNU General Public License v2.0 (gpl-2.0).

Citation

Jsoftware wiki, https://code.jsoftware.com/wiki---

Downloads last month
23