From f35eb238324d446c383a36828d7154001a2badd5 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Wed, 17 Aug 2022 08:04:05 -0400 Subject: Typo --- docs/doc/syntax.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/doc/syntax.html') diff --git a/docs/doc/syntax.html b/docs/doc/syntax.html index fd55dafa..2f2d039a 100644 --- a/docs/doc/syntax.html +++ b/docs/doc/syntax.html @@ -6,7 +6,7 @@

Syntax overview

BQN syntax consists of expressions where computation is done, with a little organizing structure around them like assignment, functions, and list notation. Expressions are where the programmer is in control, so the design tries to do as much as possible with them before introducing special syntax.

-

A program is a unit of source code that's evaluated, such as a source file, or one line of REPL input (one run of the bqn executable often involves multiple programs). Like a block, it's a sequence of expressions to be evaluated in order. It has a result, which is used it the program was evaluated from BQN with •BQN, •Import or similar. An error might occur when a program is running; this ends execution unless it's caught.

+

A program is a unit of source code that's evaluated, such as a source file, or one line of REPL input (one run of the bqn executable often involves multiple programs). Like a block, it's a sequence of expressions to be evaluated in order. It has a result, which is used if the program was evaluated from BQN with •BQN, •Import or similar. An error might occur when a program is running; this ends execution unless it's caught.

Precedence

Here's a full table of precedence for BQN's glyphs (broader than "operator precedence", as an "operator" usually just corresponds to a function). Entries at the bottom make the biggest divisions in the program, while the ones further up are subdivisions.

-- cgit v1.2.3