From faf042ecc3e688a1a3ffbe1ac44d18dd7ddf441a Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 29 May 2025 08:05:57 -0700 Subject: 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> --- docs/command-line-slangc-reference.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'docs/command-line-slangc-reference.md') 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 ### -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 - -## std-revision + +## 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 ## archive-type -- cgit v1.2.3