Compare commits

...

2 Commits

Author SHA1 Message Date
Martino Ferrari
599beb6f4f updated license 2026-01-26 14:25:47 +01:00
Martino Ferrari
30a105df63 updated readme 2026-01-26 14:24:36 +01:00
2 changed files with 7 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2026 MARTe Community Copyright (c) 2026 Martino G. Ferrari <manda.mgf@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@@ -4,6 +4,7 @@
## Features ## Features
- **Portability**: A single statically compiled executable compatible with any Linux 3.2+ machine (as well as possible to compile and run on Windows and Mac OS X)
- **LSP Server**: Real-time syntax checking, validation, autocomplete, hover documentation, and navigation (Go to Definition/References). - **LSP Server**: Real-time syntax checking, validation, autocomplete, hover documentation, and navigation (Go to Definition/References).
- **Builder**: Merges multiple configuration files into a single, ordered output file. - **Builder**: Merges multiple configuration files into a single, ordered output file.
- **Formatter**: Standardizes configuration file formatting. - **Formatter**: Standardizes configuration file formatting.
@@ -47,6 +48,7 @@ go install github.com/marte-community/marte-dev-tools/cmd/mdt@latest
## MARTe Configuration ## MARTe Configuration
The tools support the MARTe configuration format with extended features: The tools support the MARTe configuration format with extended features:
- **Objects**: `+Node = { Class = ... }` - **Objects**: `+Node = { Class = ... }`
- **Signals**: `Signal = { Type = ... }` - **Signals**: `Signal = { Type = ... }`
- **Namespaces**: `#package PROJECT.NODE` for organizing multi-file projects. - **Namespaces**: `#package PROJECT.NODE` for organizing multi-file projects.
@@ -59,6 +61,7 @@ Validation is fully schema-driven using CUE.
- **Custom Schema**: Add a `.marte_schema.cue` file to your project root to extend or override definitions. - **Custom Schema**: Add a `.marte_schema.cue` file to your project root to extend or override definitions.
**Example `.marte_schema.cue`:** **Example `.marte_schema.cue`:**
```cue ```cue
package schema package schema
@@ -83,14 +86,17 @@ Use comments starting with `//!` to control validation behavior:
## Development ## Development
### Building ### Building
```bash ```bash
go build ./cmd/mdt go build ./cmd/mdt
``` ```
### Running Tests ### Running Tests
```bash ```bash
go test ./... go test ./...
``` ```
## License ## License
MIT MIT