Doc: embedded images

This commit is contained in:
Celestino Amoroso 2024-06-19 22:04:13 +02:00
parent 531cb1c249
commit 581f1585e6
2 changed files with 8 additions and 2 deletions

View File

@ -9,6 +9,7 @@ Expressions calculator
:icons: font :icons: font
:icon-set: fi :icon-set: fi
:numbered: :numbered:
:data-uri:
//:table-caption: Tabella //:table-caption: Tabella
//:figure-caption: Diagramma //:figure-caption: Diagramma
:docinfo1: :docinfo1:
@ -60,6 +61,8 @@ _Expr_ creates and keeps a inner _global context_ where it stores imported funct
Imported functions are registerd in the _global context_. When an expression first calls an imported function, that function is linked to the current context; this can be the _main context_ or a _function context_. Imported functions are registerd in the _global context_. When an expression first calls an imported function, that function is linked to the current context; this can be the _main context_ or a _function context_.
=== `dev-expr` test tool === `dev-expr` test tool
Before we begin to describe the syntax of _Expr_, it is worth introducing _dev-expr_ because it will be used to show many examples of expressions.
`dev-expr` is a simple program that can be used to evaluate expressions interactively. As its name suggests, it was created for testing purpose. In fact, in additon to the automatic verification test suite based on the Go test framework, `dev-expr` provided an important aid for quickly testing of new features during their development. `dev-expr` is a simple program that can be used to evaluate expressions interactively. As its name suggests, it was created for testing purpose. In fact, in additon to the automatic verification test suite based on the Go test framework, `dev-expr` provided an important aid for quickly testing of new features during their development.
`dev-expr` can work as a _REPL_, _**R**ead-**E**xecute-**P**rint-**L**oop_, or it can process expression acquired from files or standard input. `dev-expr` can work as a _REPL_, _**R**ead-**E**xecute-**P**rint-**L**oop_, or it can process expression acquired from files or standard input.

File diff suppressed because one or more lines are too long