# New proposed project: llvm-dsdl

**URL:** <https://forum.opencyphal.org/t/new-proposed-project-llvm-dsdl/2450>\
**Category:** Nunavut\
**Created:** [February 21, 2026, 2:08am UTC](https://forum.opencyphal.org/t/new-proposed-project-llvm-dsdl/2450 "2026-02-21T02:08:52Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![scottdixon](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/scottdixon/32/39_2.png) [@scottdixon](https://forum.opencyphal.org/u/scottdixon)\
**Post date:** [July 14, 2026, 7:06pm UTC](https://forum.opencyphal.org/t/new-proposed-project-llvm-dsdl/2450/21 "2026-07-14T19:06:37Z")

</div>

Let’s keep the grammar the same where only one of these is allowed. We shouldn’t have any differences and the v1.1 code generator should do something reasonable for a type that would be a service for v1.0 but a related pair in v1.1. What “reasonable” is, I’m not exactly sure just yet.

---

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [July 14, 2026, 8:30pm UTC](https://forum.opencyphal.org/t/new-proposed-project-llvm-dsdl/2450/22 "2026-07-14T20:30:13Z")

</div>

I think we’re on the same page then. I think the first approximation of “reasonable” is the inference of two distinct but related types, where the actual meaning of _distinct but related_ is yet to be defined.

---

<div class="post-metadata">

**Author:** ![scottdixon](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/scottdixon/32/39_2.png) [@scottdixon](https://forum.opencyphal.org/u/scottdixon)\
**Post date:** [August 9, 2026, 11:00pm UTC](https://forum.opencyphal.org/t/new-proposed-project-llvm-dsdl/2450/23 "2026-08-09T23:00:39Z")

</div>

An update on this project. It is now ready for pre-alpha testers.

**Do you want to be the first? Brave!**

Download a release for linux or mac (no windows yet. Sorry).

> **[Release llvm-dsdl 0.2.1 · OpenCyphal-Garage/llvm-dsdl](https://github.com/OpenCyphal-Garage/llvm-dsdl/releases/tag/v0.2.1)**
>
> Ubuntu 22.04, 24.04, or 26.04
> Pick the package matching your architecture (dpkg --print-architecture):
> sudo apt install ./llvm-dsdl\_0.2.1\_amd64.deb
> sudo apt install ./llvm-dsdl\_0.2.1\_arm64.deb
> 
> llv...

Docs are available here: [llvm-dsdl User Manual](https://opencyphal-garage.github.io/llvm-dsdl/)

Note that dsdlc is the transpiler and has the cyphal 1.0 standard types baked into it so there’s no external dependencies. On mac you’ll need to `xattr -d -r com.apple.quarantine` after download.

`dsdld` is the language server and is less well tested then dsdlc but I was able to get it to work with an experimental vscode plugin.

My current focus is validating c on target ensuring we are able to support classic CAN and are generating the same, or better, serdes logic as we currently emit from `nunavut` The build system integration should also be fairly mature and I think users will be pleasantly surprised at the performance of this native solution.

Just a reminder, this is _very_ experimental but nominally functional. Use with caution.

---

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [August 10, 2026, 3:29pm UTC](https://forum.opencyphal.org/t/new-proposed-project-llvm-dsdl/2450/24 "2026-08-10T15:29:39Z")

</div>

Very interesting. It works! I tested only C so far though.

I couldn’t find facilities for union tag handling; I see there is a raw `_tag_` but there is no way to specify a particular option by name. There is also some nontrivial tag validation logic that I am not sure I understand.

I am noticing that we still generate request/responses for `---`-containing types; are you going to keep it like this for now?

I ran into this warning; would be nice to either extend the limit or avoid full expansion:

> `zubax_dsdl/zubax/file/Read.0.1.dsdl:49:1:` warning: the set of possible values of `_offset_` exceeds the analyzer’s expansion limit of 4096; assertions referencing ‘_offset_’ may be evaluated against an incomplete set and could be unsound

The generated code uses unconditional `#pragma GCC`; why does every file need `#pragma GCC diagnostic ignored "-Wdeprecated-declarations"`? This seems odd.

There is a bit of style inconsistency where the generated code places the opening brace on the same line while the runtime header places it a new line. A common style would be nice (I think leaving the brace on the same line is best, and in general more compact code is better).

There are generated identifiers with double underscores in them which are technically reserved but I guess it’s still fair use because this is likely the only sensible way to represent namespaces in C.

---

<div class="post-metadata">

**Author:** ![scottdixon](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/scottdixon/32/39_2.png) [@scottdixon](https://forum.opencyphal.org/u/scottdixon)\
**Post date:** [August 10, 2026, 5:33pm UTC](https://forum.opencyphal.org/t/new-proposed-project-llvm-dsdl/2450/25 "2026-08-10T17:33:29Z")

</div>

Nice. I’ll take all this into account and develop fixes! Also feel free to file (or have Claude file) issues in that repo. It’s easy to have Claude burn some of these down if they are in github.

[Previous page](https://forum.opencyphal.org/t/new-proposed-project-llvm-dsdl/2450.md?page=1)
