https://github.com/perryvw/dzn-examples
Examples and patterns for the Dezyne programming language
https://github.com/perryvw/dzn-examples
Last synced: 26 days ago
JSON representation
Examples and patterns for the Dezyne programming language
- Host: GitHub
- URL: https://github.com/perryvw/dzn-examples
- Owner: Perryvw
- Created: 2025-01-05T12:24:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-01T18:55:20.000Z (over 1 year ago)
- Last Synced: 2026-01-31T21:25:16.087Z (5 months ago)
- Language: C++
- Size: 34.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repository contains examples and often occurring patterns encountered while developing software with [Dezyne](https://dezyne.org/).
> Note: These examples were made using Dezyne 2.18.3 and C++23, and may require changes for other versions.
## Project Template
For a minimal project setup see the [MinimalTemplate directory](minimal-template).
## Examples
For a more complete example of a Dezyne project using the various patterns and utilities, see the [ExampleProject directory](example-project).
## Useful utilities and patterns
The other directories contain often-occuring patterns that might be useful while writing Dezyne code.
* [Result type and error information](call-result-or-error) for making functions able to succeed/fail, and pass around/extend error information
* [Timers](timers) for adding timing functionality and timeout fallbacks to your models
* [Custom logging stream](custom-logging) to redirect the Dezyne tracing to your own logging
* [Promise synchronization](promise-synchronization) to provide promises/futures and synchronize on the completion of long running async actions