Skip to content

Rename to tslang: CMake TSLANG language support, project scaffolding (--cmake), and docs#180

Merged
ASDAlexander77 merged 28 commits into
mainfrom
renaming_to_tslang
Jul 2, 2026
Merged

Rename to tslang: CMake TSLANG language support, project scaffolding (--cmake), and docs#180
ASDAlexander77 merged 28 commits into
mainfrom
renaming_to_tslang

Conversation

@ASDAlexander77

@ASDAlexander77 ASDAlexander77 commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Rename compiler tooling to tslang
  • Add first-class CMake TSLANG language support (compile .ts sources with tslang --emit=obj and link alongside C++)
  • New --cmake option to scaffold a ready-to-build mixed C++/TypeScript CMake project (CMakeLists.txt, CMakePresets.json, sample sources, cmake/ language modules)
  • Sync docs/how/cmake_tslang templates with the embedded scaffolding templates in Files.h (consolidated target_link_libraries, --opt flag fix, -relocation-model=pic on non-Windows, --export=none in compile rule)
  • Add natvis visualization for TypeScript/LLVM types and test-runner fixes
  • README: document the new --cmake option

- Updated the executable name from `tsc` to `tslang` in CMakeLists.txt and related files.
- Changed debug type definitions from "tsc" to "tslang" across multiple source files.
- Modified error and warning messages to reflect the new name.
- Adjusted library path variables and command line options to use `tslang` instead of `tsc`.
- Updated version printing function to display TSLANG_PACKAGE_VERSION.
- Updated the executable name from `tsc` to `tslang` in CMakeLists.txt and related files.
- Changed debug type definitions from "tsc" to "tslang" across multiple source files.
- Modified error and warning messages to reflect the new name.
- Adjusted library path variables and command line options to use `tslang` instead of `tsc`.
- Updated version printing function to display TSLANG_PACKAGE_VERSION.
…ME with build instructions, and modify TypeScript example for async functionality
- Introduced a new natvis file for TypeScript data structures, providing display strings for various types including TextRange, Node, Statement, Expression, Declaration, and more.
- Added visualizations for MLIR types, including StorageUserBase and Value, with expanded views for detailed inspection.
- Enhanced LLVM type visualizations, covering SmallVectorImpl, APInt, ArrayRef, StringRef, and various other data structures, improving debugging experience in Visual Studio.
- Implemented detailed display strings and expand options for complex types like PointerIntPair, DenseMap, and StringMap, facilitating better understanding of their contents during debugging sessions.
…uilds, and link additional libraries for non-Windows platforms
@ASDAlexander77 ASDAlexander77 merged commit c8f856c into main Jul 2, 2026
2 checks passed
@ASDAlexander77 ASDAlexander77 deleted the renaming_to_tslang branch July 2, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant