Human-centered scientific workflows in the AI era.
ScienceLogo is a Logo-inspired language for describing scientific workflows that people can read and inspect. It aims to make research methods understandable, from their overall purpose down to their steps, inputs, assumptions, and conditions. When AI participates, the method should make its role visible so people can question and supervise the work. The language should remain approachable to a learner while supporting detailed scientific methods.
“Declarative, not decorative” means that stated conditions are part of the method and can be checked, rather than serving only as explanatory prose.
This repository contains the language specification, manual, and Racket reference
implementation. ScienceLogo has equivalent compact and verbose syntax, which
can be mixed in the same source file. The reference implementation provides
the #lang sciencelogo reader, a core interpreter, and a structural assessor.
To try the language from a local checkout, install the package with
raco pkg install --link --name sciencelogo ., then follow the Getting started manual page.
The manual progresses from a small investigation to values, procedures, stages and state, data sources and storage, reusable definitions, and assessment support. Its Syntax page is a lookup map of language forms. The specification index groups the language rules separately from design rationale and earlier notes. The examples index provides runnable programs and a young Galileo pendulum case showing how an investigation can develop from a question to observations and conclusions.
The language boundary explains why scientific applications such as protocol or bias assessment are separate from the language package. The reader records paired stages and external data flow without performing the described scientific work or data transfers. The structural assessor checks declared calls, stage order, workflow parts, and record requirements. The shared representation contract describes the method information available to independent applications.
Each ScienceLogo release is a language version with a two-part number, such
as 0.2 or 0.3. A language version is a fixed set of definitions: its
syntax and the workflow model the reader produces. Every change, including
a fix to the implementation or the documentation, is released as a new
language version; there are no patch releases. Packages built on ScienceLogo
can add a patch number to every release, but their first two numbers name
the language version they support: version 0.2.3 of such a package
works with language version 0.2. Each release tag is v followed by the version, such as v0.2.
The Racket package catalog offers only the latest release; earlier releases
remain available from their GitHub tags and releases.
The changelog lists the changes in each release.
ScienceLogo is released under the MIT License.
If you use ScienceLogo, please cite it:
Riccardo Boero. ScienceLogo: a language for scientific workflows in the AI era [Software]. https://doi.org/10.5281/zenodo.23597749
