tact-lang / tact-sublime Goto Github PK
View Code? Open in Web Editor NEW⚡ All-in-one Sublime Text 4 package for Tact programming language
Home Page: https://tact-lang.org
License: MIT License
⚡ All-in-one Sublime Text 4 package for Tact programming language
Home Page: https://tact-lang.org
License: MIT License
See examples: https://github.com/sublimehq/Packages
To be resolved by #15:
~
|=
, &=
, ^=
_
as unused variable identifierslet
statementsOther things:
That one: tact-extracted-ls
See: tact-lang/tact#627
See: https://github.com/digitalcora/sublime-text-gleam/blob/main/.github/workflows/ci.yml
That runs the special headless Sublime Text build made for running tests on syntax highlighting. Those tests share the common ground with tests of tree-sitter-tact.
Plan:
Useful links:
Sublime Text 3+ can use the .tmLanguage
format, which is a fancy xml, essentially.
Sublime Text 4+ uses a newer, .sublime-syntax
format, which is a fancy yaml.
While both use Oniguruma RegExp engine and TextMate-like captures, their approaches slightly differ, with the former being almost 1-to-1 representation of the tact.tmLanguage.json
but in the xml form.
Therefore, all that's needed here is to:
.tmLanguage.json
JSON (for tact-vscode, tact-docs, Nujan & others) to .tmLanguage
PLIST/XML (for Sublime)This repo shall become public before approaching this issue, but after completing those:
Useful links:
Reserve...
and Send...
constants from the core as constants, not as entity.name.type
. Try to capture self.storageReserve
as a constant too, which requires a change of highlighting identifiers standing after const
keyword.__gen
and __tact
as invalid
to somewhat prohibit users from using them.if...else
, try...catch
and do...until
highlighting -- that's needed for docs and won't affect regular users.init
, receive
, external
and bounced
to have an open parenthesis (
right after itAdd tests for each of those points.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.