An Implementation of J
Roger K.W. Hui

Copyright © 1990-2011, Jsoftware Inc.
last updated: 2000-06-23

Preface

J is a dialect of APL freely available on a wide variety of machines. It is the latest in the line of development known as "dictionary APL". The spelling scheme uses the ASCII alphabet. The underlying concepts, such as arrays, verbs, adverbs, and rank, are extensions and generalizations of ideas in APL\360. Anomalies have been removed. The result is at once simpler and more powerful than previous dialects.

This document describes an implementation of J in C. The reader is assumed to be familiar with J and C. J is specified by the J Dictionary, and introductions to the language are available in Programming in J and J Primer; C is described in The C Programming Language.

Why "J"? It is easy to type.

Acknowledgment

Ex ungue leonem.



Contents
   
0. Introduction 6. Display
  6.1 Numeric Display
1. Interpreting a Sentence   6.2 Boxed Display
  1.1 Word Formation   6.3 Formatted Display
  1.2 Parsing  
  1.3 Trains 7. Comparatives
  1.4 Name Resolution  
  Appendices
2. Nouns   A. Incunabulum
  2.1 Arrays   B. Special Code
  2.2 Types   C. Test Scripts
  2.3 Memory Management         D. Program Files
  2.4 Global Variables   E. Foreign Conjunction
    F. System Summary
3. Verbs  
  3.1 Anatomy of a Verb Bibliography
  3.2 Rank Glossary and Index
  3.3 Atomic (Scalar) Verbs  
  3.4 Obverses, Identities, and Variants      
  3.5 Error Handling  
   
4. Adverbs and Conjunctions  
   
5. Representation  
  5.1 Atomic Representation  
  5.2 Boxed Representation  
  5.3 Tree Representation  
  5.4 Linear Representation  


NextPreviousIndexTable of Contents