Rename to tslang: CMake TSLANG language support, project scaffolding (--cmake), and docs#180
Merged
Conversation
- 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.
…pt example and add CMake presets
…cript example with class implementation
…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
…ovements and suggested changes
…for improved build process
…riptCompiler into renaming_to_tslang
…r improved build process
…nd improve path handling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tslangTSLANGlanguage support (compile.tssources withtslang --emit=objand link alongside C++)--cmakeoption to scaffold a ready-to-build mixed C++/TypeScript CMake project (CMakeLists.txt,CMakePresets.json, sample sources,cmake/language modules)docs/how/cmake_tslangtemplates with the embedded scaffolding templates inFiles.h(consolidatedtarget_link_libraries,--optflag fix,-relocation-model=picon non-Windows,--export=nonein compile rule)--cmakeoption