EXPRESSsuite
A Visual Studio Code extension that provides language support and rich-content viewers for the EXPRESS (ISO 10303-11) information modeling language used by ISO TC 184/SC 4 STEP standards. EXPRESSsuite is an independently maintained derivative of the NIST-developed
easyEXPRESS (Sylvere Krima,
Allison Barnard Feeney, Rosemary Astheimer; U.S. National Institute of
Standards and Technology). EXPRESSsuite has its own product and Visual Studio
Marketplace identity, If you reference, cite, or build on this work, see § Citation below or the machine-readable FeaturesLanguage support (existing)
Describe DeclarationThe Describe Declaration command (right-click menu or command palette)
writes the description block of a declaration after The tutorial and its demo schemas are part of the extension: run
EXPRESSsuite: Open Tutorial from the command palette (the Welcome page
lists it under Walkthroughs). It opens a copy of the demo in a window of its
own with the tutorial beside it. The same text is in the repository:
From a description to the EXPRESSIn a description block after
The Show Description panel has a Go to declaration link under its heading for the same step from the rendered text. References and Rename with the descriptionsFind All References (Shift+F12) and Rename (F2) include the
description blocks after
An attribute and the attributes that redeclare it without Type-ahead in a description blockIn a keyed description block after
An accepted cross-reference is completed with its display text, the name in
words, selected for typing over: SC4 validationEXPRESSsuite reports additional ISO TC 184/SC 4 authoring problems in the standard VS Code Problems view:
Attribute references resolve as 12.7.3 prescribes: The same check is available on demand as EXPRESSsuite: Detect Duplicate Declarations in Schema Closure from the Command Palette or an EXPRESS editor's context menu: it lists the clashes in the scope of the schema at the cursor, computed by the same scope index as the live diagnostic, handles cycles and renamed resources, and publishes navigable diagnostics for declaration names supplied by more than one schema in that closure. Annotation viewers (new in 0.4.0)Four surfaces that render the annotated EXPRESS convention used by SC 4 schema authors — Metanorma AsciiDoc inside
InstallFrom a packaged
|
| Surface | Trigger |
|---|---|
| Hover description | hover the cursor on any entity name |
| Show Description | right-click → Show Description (or command palette) |
| From a description to its EXPRESS | F12 in a description block after END_SCHEMA;, or Go to declaration in the Show Description panel |
| References and Rename with the descriptions | Shift+F12 or F2 on a name, in the EXPRESS or in a key or cross-reference of a description block |
| Type-ahead in a description block | type (*", ., <<express: or ** in a description block after END_SCHEMA; |
| Show EXPRESS-G Diagram | right-click → Show EXPRESS-G Diagram |
| AsciiMath Playground | command palette → EXPRESSsuite: Open AsciiMath Playground |
| Send Selection to Playground | select text in editor → right-click → Send Selection to AsciiMath Playground |
| Tutorial with a demo | command palette → EXPRESSsuite: Open Tutorial |
| Detect duplicate declarations | place the cursor in a schema → command palette or right-click → Detect Duplicate Declarations in Schema Closure |
Performance and diagnostic logs land in the Output panel under EXPRESSsuite.
Which files are read
By default the extension does not read every .exp file of the workspace. The setting expresssuite.useOptimizedConfiguration (on by default) leaves out files that a STEP repository holds beside its schemas:
| Setting | Leaves out | Default |
|---|---|---|
expresssuite.excludedFolders |
the files in a folder with one of these names, at any depth inside the workspace folder | dvlp, sys, nav, css, doc, dtd, help, images, publication, utils, xsl, basic, library, resource_docs, business_object_models, ap233_system_engineering_and_design |
expresssuite.excludedFiles |
the files whose name holds one of these keywords as a part of the name | lf, concatenated |
- The folders above the workspace folder do not count: a workspace kept in
/home/me/library/schemasis read. A folder opened as a workspace folder is read whatever its name. - A keyword is bounded by a character that is not a letter or a digit:
lfleaves outmim_lf.expandmim_lf_patched.exp, notshelf_schema.exp. Long forms and concatenated schemas are left out because each repeats the declarations of the schemas it was built from. - A file that is left out shows no problems, no hover and no completion. While such a file is in the active editor, the status bar shows EXPRESS: not checked; its tooltip names the folder or the keyword and the setting that lists it, and a click opens these settings. Turn
expresssuite.useOptimizedConfigurationoff to read everything.
Searching the workspace and resolving a schema
EXPRESSsuite uses the files it reads in two different ways.
The files are first split into domains that never see each other: the ARM short forms of a workspace folder, its other files (the MIM short forms with the resource schemas), each concatenated file and each long form.
Searching, for your convenience. A name in the EXPRESS that the schema's
interfaces do not bring in is still looked up in the other files of its
domain, so that Go to Definition finds the declaration and the problem
reference-statement-missing offers to add the interface. The links of the
description blocks after END_SCHEMA; reach every file that is read.
Resolving, which decides the type checks: whether a redeclared attribute's type is a specialization of the original, and whether an indexed operand can be indexed. For these a schema means what ISO 10303-11:2004 clause 11 gives it, and nothing else: its own declarations, what its USE and REFERENCE specifications bring in (11.1 to 11.3), and what those declarations implicitly interface (11.4), drawn from the schemas it reaches through its interface specifications. A schema that it does not reach, even one that is open or one that interfaces it, changes none of these verdicts.
This matters most for the extensions of an EXTENSIBLE GENERIC_ENTITY SELECT.
In a schema S, a select holds:
- the items of its own list that are in S's specification: interfacing a select does not interface its selectable items (11.4.2);
- for an extension (
SELECT BASED_ON base WITH (...)), the items its base declares, up the chain of bases (8.4.2); - the items of the extensions of it that are in S's specification (13.3.2). An extension is in S's specification when S interfaces it, when S interfaces an item that its WITH list names (11.4.3), or when it is the base of another extension that is (11.4.2).
An extension does not hold the items that the other extensions of its base
add. So SELF\holder.item : b is accepted in a schema that interfaces an
extension adding b, and reported as not a specialization in a schema that
does not, even when that extension is in an open file:
SCHEMA base_schema;
ENTITY a; END_ENTITY;
ENTITY b; END_ENTITY;
TYPE base_select = EXTENSIBLE GENERIC_ENTITY SELECT (a); END_TYPE;
ENTITY holder; item : base_select; END_ENTITY;
END_SCHEMA;
SCHEMA extension_schema;
USE FROM base_schema;
TYPE wider_select = SELECT BASED_ON base_select WITH (b); END_TYPE;
END_SCHEMA;
SCHEMA without_extension; -- reported: base_select holds a only here
USE FROM base_schema;
ENTITY narrow SUBTYPE OF (holder); SELF\holder.item : b; END_ENTITY;
END_SCHEMA;
SCHEMA with_extension; -- accepted: wider_select adds b
USE FROM base_schema;
USE FROM extension_schema (wider_select);
ENTITY narrow_too SUBTYPE OF (holder); SELF\holder.item : b; END_ENTITY;
END_SCHEMA;
A long form is a single schema, so there every extension written in it counts.
Privacy and confidentiality
EXPRESSsuite itself makes zero outbound network calls. Every webview is configured with CSP connect-src 'none'; the extension host source contains no fetch, no http(s) import, no telemetry. Math rendering happens entirely on your machine via Plurimath (in a node:worker_threads worker) and MathJax (lazy-loaded for hover SVGs).
⚠ However, modern VS Code (and especially VS Code Insiders) bundles GitHub Copilot Chat as a built-in feature. Its right-click context-menu entries (Explain, Add File to Chat, Open Inline Chat, Review) DO send the cursor word, enclosing scope, surrounding source lines, and snippets from other open editors to GitHub/Microsoft endpoints.
--disable-extensionsdoes NOT remove these.
For pre-publication standards work under non-disclosure, the recommended workflow is:
- Sign out of GitHub in the affected VS Code window (account icon at bottom-left → Sign Out). Without auth, Copilot Chat cannot reach its API.
- Or set
"chat.disableAIFeatures": truein the workspace's.vscode/settings.json. - Best practice: a dedicated, signed-out window for any sensitive schema work; sign back in for non-confidential projects.
The companion white paper (see below) documents the data flows and verification steps in detail.
Documentation
Project documentation under docs/:
| Path | Audience |
|---|---|
docs/expresssuite-capabilities.pptx |
Capabilities deck for STEP developers and model reviewers (37 slides, 0.5.0); source docs/expresssuite-capabilities.tex, built with Beamer and docs/build-capabilities-pptx.py |
docs/easyEXPRESS-viewers.adoc |
Technical white paper (architecture, security model, data privacy, performance) |
docs/easyEXPRESS-viewers.pptx |
Implementor-oriented PowerPoint deck (21 slides) |
docs/easyEXPRESS-viewers-user-guide.pptx |
User-oriented PowerPoint deck (19 slides, screenshot-led) |
docs/tutorial/describe-declarations.md |
Tutorial for Describe Declaration with a demo workspace (docs/tutorial/demo/) and a video storyboard (docs/tutorial/storyboard.md) |
docs/smoke-test-checklist.md |
Cross-platform manual smoke-test plan (S1–S7 + per-schema acceptance) |
DESIGN-viewers-integration.md |
Full design protocol document (Phase 0 reconnaissance → Phase 4 validation) |
CHANGELOG.md |
Release notes |
Rendering the white paper
The white paper is written in AsciiDoc to dogfood the format the extension renders. To preview it:
As HTML — in VS Code
Install the Asciidoctor extension for VS Code:
code --install-extension asciidoctor.asciidoctor-vscode
Open docs/easyEXPRESS-viewers.adoc, then Cmd+K V (preview to the side) or Cmd+Shift+V (preview in the same column). The preview updates as the file is edited.
As HTML — from the command line
asciidoctor docs/easyEXPRESS-viewers.adoc -o docs/easyEXPRESS-viewers.html
open docs/easyEXPRESS-viewers.html
As PDF
gem install asciidoctor-pdf
asciidoctor-pdf docs/easyEXPRESS-viewers.adoc -o docs/easyEXPRESS-viewers.pdf
open docs/easyEXPRESS-viewers.pdf
As Metanorma standoc (publication fidelity)
gem install metanorma-cli metanorma-standoc
metanorma compile docs/easyEXPRESS-viewers.adoc -t standoc -x html,pdf
This path uses Plurimath to render embedded math, exactly matching the rendering the extension itself produces.
Build, lint, test
npm run build # langium-generate + tsc + esbuild
npm run lint # eslint
npm test # vitest, the unit suite
npm run test:smrlv8 # the SMRL v8 corpus against its baselines (minutes, multi-GB heap)
lean/check.sh # the Lean proofs: lake build, no sorry, only the three standard axioms
npm run rebuild # clean build from scratch
Continuous integration runs the build/lint/test matrix on macOS, Ubuntu, and Windows via .github/workflows/ci.yaml, audits the production dependencies, runs the SMRL v8 corpus and builds the Lean proofs on one Linux runner each, and uploads platform-specific .vsix artifacts.
The SMRL v8 corpus
test-fixtures/smrlv8 holds the EXPRESS schema files of the published ISO 10303 SMRL v8 (1,410 .exp files, byte-identical to the distribution, nothing else from it). npm run test:smrlv8 loads the 1,287 files the default settings admit as one workspace, then the 103 long forms directly, and compares every diagnostic with the baselines in test-fixtures/smrlv8-baseline. The baselines pin behaviour on real schemas, not correctness; the known false-positive classes are listed in that folder's README. After an intended change, regenerate them and review the diff:
EXPRESS_UPDATE_SMRLV8_BASELINE=1 npm run test:smrlv8
Origin and licensing
The original easyEXPRESS was developed at the U.S. National Institute of Standards and Technology by Sylvere Krima, Allison Barnard Feeney, and Rosemary Astheimer. The original NIST-developed software is not subject to copyright protection within the United States under 17 U.S.C. § 105. The complete NIST Software Licensing Statement is preserved in LICENSE.md.
In compliance with NIST's stated requirement that modified works should carry a notice stating that you changed the software and should note the date and nature of any such change, this repository includes NOTICE.md summarising the modifications since the fork point.
This fork is maintained by Thomas Thurman (TRThurman Consulting) under the MIT License for code originating in this fork.
Citation
If you use this software in academic, standards, or regulatory work, please cite both:
The NIST original (the substrate this work builds on):
Krima, S., Barnard Feeney, A., and Astheimer, R. easyEXPRESS: A Visual Studio Code Extension for ISO 10303-11. U.S. National Institute of Standards and Technology, 2024. https://github.com/usnistgov/easy-express. Public-domain in the U.S. under 17 U.S.C. § 105.
This fork (when the modifications are material to the work cited):
Thurman, T. EXPRESSsuite. TRThurman Consulting, 2025–. https://github.com/TRThurman/EXPRESSsuite. MIT-licensed for code originating in this derivative.
A machine-readable Citation File Format entry is provided as CITATION.cff. GitHub renders this as a "Cite this repository" button on the repository home page; tools such as Zenodo and CFF-aware reference managers consume it directly.
If you have downstream-renamed or rebadged this software (e.g. as a derivative product with a different name), the citation requirement still applies to both the NIST original and this intermediate fork; see
NOTICE.mdfor the chain of attribution.
Contributing
For bug reports and feature requests, please open an issue.
For code contributions, the development workflow is:
- Fork the repository and create a topic branch.
- Make changes; ensure
npm run lintandnpm testpass. - Open a pull request against
main.
Larger changes (new viewer surfaces, parser changes, security model adjustments) are guided by the design protocol document — see DESIGN-viewers-integration.md for the phased process used for the 0.4.0 release.