diff options
| author | Yong He <yonghe@outlook.com> | 2025-05-29 08:05:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-29 08:05:57 -0700 |
| commit | faf042ecc3e688a1a3ffbe1ac44d18dd7ddf441a (patch) | |
| tree | b54abb2e65b7791d74335ead396cf762f805ab5c /docs/command-line-slangc-reference.md | |
| parent | 45d794f57d453a5564a7360400c5bfc04bf12b31 (diff) | |
Language version + tuple syntax. (#7230)
* Language version + tuple syntax.
* Fix compile error.
* regenerate documentation Table of Contents
* Fix.
* regenerate command line reference
* Fix.
* Fix.
* Fix more test failures.
* revert empty line change,
* Retrigger CI
* #version->#lang
* Update source/core/slang-type-text-util.cpp
Co-authored-by: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com>
* Remove comments.
* Fix parsing logic.
* Fix parser.
* Fix parser.
* update test comment
* Update options.
* regenerate documentation Table of Contents
* regenerate command line reference
---------
Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Co-authored-by: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com>
Diffstat (limited to 'docs/command-line-slangc-reference.md')
| -rw-r--r-- | docs/command-line-slangc-reference.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/command-line-slangc-reference.md b/docs/command-line-slangc-reference.md index b976d3ed3..2d684f961 100644 --- a/docs/command-line-slangc-reference.md +++ b/docs/command-line-slangc-reference.md @@ -22,7 +22,7 @@ slangc -help-style markdown -h * [Deprecated](#Deprecated) * [compiler](#compiler) * [language](#language) -* [std-revision](#std-revision) +* [language-version](#language-version) * [archive-type](#archive-type) * [line-directive-mode](#line-directive-mode) * [debug-info-format](#debug-info-format) @@ -227,7 +227,7 @@ It is typically only set from automated builds(such as distros available on gith <a id="std"></a> ### -std -**-std <[std-revision](#std-revision)>** +**-std <[language-version](#language-version)>** Specifies the language standard that should be used. @@ -898,14 +898,14 @@ Language * `hlsl` : HLSL language * `cu`, `cuda` : CUDA -<a id="std-revision"></a> -## std-revision +<a id="language-version"></a> +## language-version -Std Revision +Language Version -* `unknown` : Unknown -* `2025`, `default` : Slang language rules for 2025 and older -* `2026` : Slang language rules for 2026 and newer +* `legacy`, `default`, `2018` : Legacy Slang language +* `2025` : Slang language rules for 2025 and older +* `2026`, `latest` : Slang language rules for 2026 and newer <a id="archive-type"></a> ## archive-type |
