Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
}
}
},
"initializeCommand": "git submodule update --init --recursive",
"postCreateCommand": "rustc --version && cargo --version && git submodule update --init --recursive && cd editors/vscode-lsp && npm install && cd ../.. && ([ -d packages/diagram-core ] && cd packages/diagram-core && bun install || true) && ([ -d packages/diagram-ui ] && cd packages/diagram-ui && bun install || true)",
"initializeCommand": "git submodule deinit -f --all 2>/dev/null || true && git submodule update --init --recursive",
"forwardPorts": [3000, 5173],
"remoteUser": "vscode"
}
}
21 changes: 12 additions & 9 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,21 @@ Syster is a comprehensive Rust-based parser and tooling suite for SysML v2 (Syst
- **LSP:** async-lsp library for Language Server Protocol
- **Formatter:** Rowan-based Concrete Syntax Tree (CST)
- **VS Code Extension:** TypeScript, Node.js
- **Build System:** Cargo workspace with 3 crates
- **Build System:** Independent submodules, each with own Cargo.toml/package.json

## Repository Structure

```
syster/
├── crates/
│ ├── syster-base/ # Core library (parser, AST, semantic analysis)
│ ├── syster-cli/ # Command-line tool
│ └── syster-lsp/ # Language Server Protocol implementation
├── editors/vscode/ # VS Code extension
├── docs/ # Documentation
├── base/ # syster-base: parser, AST, semantic analysis
├── cli/ # syster-cli: command-line tool
├── language-server/ # syster-lsp: Language Server Protocol implementation
├── language-client/ # VS Code LSP extension
├── modeller/ # VS Code modeller extension
├── viewer/ # VS Code viewer extension
├── diagram-core/ # TypeScript diagram utilities
├── diagram-ui/ # React diagram components
├── pipelines/ # CI/CD pipeline definitions
└── .github/ # GitHub configuration and instructions
```

Expand Down Expand Up @@ -165,15 +168,15 @@ Before making changes, review:

## VS Code Extension

Located in `editors/vscode/`:
Located in `language-client/`:
- TypeScript-based extension
- Integrates with syster-lsp server
- Provides syntax highlighting, IntelliSense, formatting, and more
- Build with: `npm install && npm run compile`

## Standard Library

The `crates/syster-base/sysml.library/` directory contains the SysML v2 standard library files. These are loaded automatically by the workspace when needed.
The `base/sysml.library/` directory contains the SysML v2 standard library files. These are loaded automatically by the workspace when needed.

## Getting Help

Expand Down
61 changes: 0 additions & 61 deletions .github/instructions/chore.md

This file was deleted.

Loading