Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

J

< >

J is an open source programming language created in 1990 by Kenneth E. Iverson and Roger Hui.

#100on PLDB 34Years Old 468Repos
Download source code:
git clone https://github.com/jsoftware/jsource

Try now: Riju · TIO

The J programming language, developed in the early 1990s by Kenneth E. Iverson and Roger Hui, is a synthesis of APL (also by Iverson) and the FP and FL function-level languages created by John Backus. To avoid repeating the APL special-character problem, J uses only the basic ASCII character set, resorting to the use of the dot and colon as inflections to form short words similar to digraphs. Read more on Wikipedia...


Example from Riju:
echo 'Hello, world!'
Example from hello-world:
#!/opt/local/bin/jc echo 'Hello World' exit ''
NB. Hello World in J 'Hello World' 1!:2(2)
Example from Linguist:
#!/bin/jconsole echo 'Hello, GitHub!' exit ''
Example from Wikipedia:
3 |. 1 0 1 1 0 0 1 1 1 1 1 NB. rotate 1 0 0 1 1 1 1 1 1 0 1

Language features

Feature Supported Token Example
Integers
NB. _?\d+
Floats
NB. _?\d+\.(?=\d+)
Strings '
'Hello world'
Print() Debugging echo
Line Comments NB.
NB. A comment
Comments
Semantic Indentation X

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll