Commit Graph

6544 Commits

Author SHA1 Message Date
Vadim Yanitskiy 5db93528d6 (ttcn3) add more built-in functions
These are listed in ETSI ES 201 873-1 V4.15.1, table 15.
2023-10-04 05:40:52 +07:00
Vadim Yanitskiy f4f9562fa8 (ttcn3) let it highlight [bit|hex|oct]strings 2023-10-04 05:40:52 +07:00
Vadim Yanitskiy fe994b5c79 (ttcn3) add a very basic definition for TTCN-3 2023-10-04 05:40:32 +07:00
Brian Ward 58dc5961f6
Update Stan syntax to version 2.33 (#3859)
* Update Stan syntax to version 2.33

* Update CHANGES.md
2023-09-11 22:33:11 -04:00
Yasith Deelaka 694eb52e30
(enh) Add `Ballerina` to supported languages (#3852) 2023-09-08 22:28:57 -04:00
dependabot[bot] a20b348bc0
Bump actions/checkout from 3 to 4 (#3854)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 18:03:46 -04:00
Bradley Mackey 7a522e979d
(chore) Upgrade size report comment workflow to github-script v6 (#3849)
* Upgrade scripts to v6

* Use REST namespace for actions
2023-08-23 00:36:03 -04:00
aana-h2 30cb6c79d5
rename 'Riscv' to 'RISC-V Assembly' (#3846) 2023-08-18 23:45:25 -04:00
Javier Chávarri 0ef63b9539
enh(reasonml) Simplify ReasonML syntax and align it with OCaml (#3795)
* reasonml: add more markup tests

* reasonml: sync with ocaml, update keywords

* reasonml: update changes.md

* reasonml: use literal regexps

* reasonml: use array of strs for keywords

* reasonml: put built-in types aside

* reasonml: classname -> scope

* reasonml: begin -> match

* reasonml: use variants for numbers

* reasonml: add operators back

* reasonml: fix operator handling of edge spacing
2023-08-17 23:42:57 -04:00
aana-h2 198cb61883
(add) new 3rd- party grammar riscvasm (#3841) 2023-08-17 23:40:58 -04:00
Bradley Mackey 7db19e7e62
enh(swift) macro attributes are highlighted as keywords (#3844)
* Fixup attributes

- Add macro attributes

* Update tests for the attributes

* Update changes
2023-08-17 21:00:41 -04:00
Bradley Mackey 12536569dc
fix(swift) `warn_unqualified_access` is an attribute (#3845)
* Keyword attribute, not number sign

* Add test

* Update CHANGES
2023-08-16 22:58:18 -04:00
Bradley Mackey e71d91dabc
(chore) Fix build size report (#3840)
* Add buildSizeReport script

* Add attribution

* Add new workflows for computing and commenting size

* Remove old size report

* Update changes

* Run report from the PR

* Improve workflow step names

* Improve size report workflow file names

* Improve workflow names

* Also report for CSS files

* Remove CDN from desc

* Improve report description and layout

* Improve variable names

* Bold gzip

* Change language of total change

* Refactor changes into seperate function

* Split report into seperate functions for clarity

* Don't use head.sha

This is the unmerged head, which may be outdated.

* Ensure added and removed files are formatted as table
2023-08-16 22:55:38 -04:00
Bradley Mackey 2dd2e4f0b4
(chore) Remove discontinued badges from README (#3842)
* Remove discontinued badges

* Update README

* Add CodeQL badge
2023-08-15 20:11:54 -04:00
Nick ed9d0acbae
enh(armasm) Add 32 and 64-bit ARM v8 Registers (#3839)
* Add 32 and 64 bit ARMv8 Registers

ARMv8 provides 31 64 bit registers labelled `x0-x30`.
In addition, their 32 bit low bits are labelled `w0-w30`.

Add them to the known register set in armasm.js.

See [here](https://developer.arm.com/documentation/den0024/a/ARMv8-Registers) for details.
2023-08-15 01:05:56 -04:00
Katsuhiko Gondow 5c1bc1e4ab
Add x86asmatt as 3rd party language (#3834) 2023-08-08 00:47:29 -04:00
Michael Voříšek b4c9a21d74
(chore) build non-minified CSS files for node & CDN (#3807)
Co-authored-by: Josh Goebel <me@joshgoebel.com>
2023-08-05 00:11:25 -04:00
Isaac Nonato 582177c63f
fix(scala) comments in constructor arguments (#3819)
* fixed comment not being properly formatted inside type parameters and generics
2023-08-04 01:24:39 -04:00
Stephen Li 25b9f6b90a
(enh) add lib/common.js to sideEffects (#3828)
vite/rollup will treeshake side effect imports (whereas webpack will not) if the files themselves are not marked in package.json

Resolves #3827
2023-08-04 01:14:37 -04:00
Sam Bishop 7fb52a23ea
enh(leaf) Update syntax to Leaf 4 (#3794) 2023-07-24 22:11:36 -04:00
Jamie Thompson e5e0220052
enh(scala) - add `using` directive support (#3810) 2023-07-07 19:02:09 -04:00
qoheniac a3e401ec4e
enh(rust): add `eprintln!` macro (#3816) 2023-07-07 18:58:53 -04:00
Ondřej Janošík be9297ec81
fix(haskell) Do not treat dashes inside infix operators as comments (#3799)
* fix(haskell) do not treat dashes inside infix operators as comments

This fixes cases where operators like `$--` or `-->`
are treated as comment.

* Fix the comments using no-markup rule to avoid negavive lookbehind
2023-07-03 13:57:18 -04:00
Bradley Mackey 8eafa32fb2
enh(swift) ownership modifiers support (#3812)
* Add consume keyword
* Non-copyable highlights as expected
* Parameter ownership and copies
2023-07-02 22:50:48 -04:00
Bradley Mackey ab4dff7831
(chore) drop support for Node.js 14 (#3814)
* Slide build window to 16...20
2023-07-02 20:18:18 -04:00
Jan T. Sott 700626f10a
enh(nsis) Add !assert compiler flag (#3813) 2023-07-02 20:09:57 -04:00
Christian Grün 9467c5c6af
XQuery: common .xqm suffix added (#3811) 2023-06-28 02:34:57 -04:00
Bradley Mackey fcefad4a6b
enh(swift) `@unchecked` and `@Sendable` support (#3808)
* @Sendable is a keyword attribute

* Add @unchecked for Sendable conformance

* Use scope spelling for attribute rules

* @unchecked is not actually contextual

* Revert unneeded changes

* Update CHANGES.md
2023-06-15 20:00:31 -04:00
Bradley Mackey 88dcae86d4
enh(swift) regex literal support (#3804)
Swift 5.7 introduced regex literals, specified in SE-0354.

This includes support for bare-slash (/example/) and extended regex literals (#/example/#, ##/example/##, etc).

- Bare slash literals are not enabled by default in Swift 5, but will be in Swift 6.
- Bare slash literals cannot start with whitespace, but extended literals can.
- Only extended regex literals support newlines.
- Multiline extended literals support comments starting with #, continuing until end of line.
- Follows convention of raw strings, supporting up to 3 levels of delimiting for extended literals, ensuring # delimiters match.
2023-06-14 04:49:46 -04:00
Bradley Mackey 4efc51c605
enh(swift) add parameter pack keywords (#3803)
* Support parameter pack

* Update changes

* Merge and improve test case

* Use scope

* Use keywords in GENERIC_PARAMETERS
2023-06-13 23:09:08 -04:00
Bradley Mackey 98be55bf65
enh(swift) support `macro` keyword (#3802)
* Recognize macro as function-like entity

* Macro invokation should not highlight for now

* Update changes
2023-06-11 21:02:35 -04:00
Mateusz Burzyński 5d484b5fa3
fix(types): move `types` condition to the front (#3800) 2023-06-03 14:57:37 -04:00
hancar 73a398ddca
fix(bash): do not delimit a string by \' (#3792) 2023-05-22 07:52:10 -04:00
RoBBoR cc29629569
enh(haxe) Many improvements and fixes to Haxe grammar (#3789)
- enh(haxe) added `final`, `is`, `macro` keywords and `$` identifiers [Robert Borghese][]
 - enh(haxe) support numeric separators and suffixes [Robert Borghese][]
 - fix(haxe) fixed metadata arguments and support non-colon syntax [Robert Borghese][]
 - fix(haxe) differentiate `abstract` declaration from keyword [Robert Borghese][]
2023-05-21 00:50:52 -04:00
Josh Goebel d27be507cb (chore) fixup browser tests 2023-05-20 18:14:14 -04:00
Josh Goebel 38966a8d28
(core) fix up types of new Emitter API (#3774) 2023-05-09 20:18:40 -04:00
alexeyinkin 953f58b81a
(chore) fix typing of LanguageDetail.keywords and ModeDetail.keyword (#3778) (#3779) 2023-05-04 17:22:33 -04:00
Shah Shabbir Ahmmed bc56b4e850
(enh) Auto-update the highlighted output when the language dropdown changes. 2023-05-03 18:42:27 -04:00
Checconio cc93b0e6d9
Update changes and supported_language for Iptables syntax (#3775) 2023-04-30 14:46:49 -04:00
Josh Goebel 3987abe437 (enh) prevent rehighlighting of an element 2023-04-29 11:35:20 -04:00
Josh Goebel f4bf02a44f (chore) devtool no longer uses Vue or Vue plugin 2023-04-29 10:42:15 -04:00
Josh Goebel 65687a907b (release) 11.8.0 2023-04-29 09:35:03 -04:00
Josh Goebel 381c49247b (chore) update deps 2023-04-29 09:34:14 -04:00
Josh Goebel 4e480d6740 (chore) clean up changelog for release 2023-04-29 09:09:51 -04:00
Josh Goebel 2fa5786c81 enh(sql) support `_` in variable names 2023-04-29 08:56:08 -04:00
dependabot[bot] 1bb4afeea7
Bump JS-DevTools/npm-publish from 1 to 2 (#3763)
Bumps [JS-DevTools/npm-publish](https://github.com/JS-DevTools/npm-publish) from 1 to 2.
- [Release notes](https://github.com/JS-DevTools/npm-publish/releases)
- [Changelog](https://github.com/JS-DevTools/npm-publish/blob/main/CHANGELOG.md)
- [Commits](https://github.com/JS-DevTools/npm-publish/compare/v1...v2)

---
updated-dependencies:
- dependency-name: JS-DevTools/npm-publish
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 21:58:55 -04:00
Sijawusz Pur Rahnama ec66e02989
Add Mint Programming Language to `SUPPORTED_LANGUAGES.md` (#3759) 2023-04-22 14:31:45 -04:00
redtide a8bcfce727
(docs) add SFZ to SUPPORTED_LANGUAGES.md (#3760) 2023-04-21 20:44:21 -04:00
Cyrus Kao 4f9cd3bffb
fix typo in language name of JavaScript (#3758) 2023-04-19 09:54:01 -04:00
Boris Verkhovskiy fc2a3e1e57
enh(bash) add "until" and "select" as keywords (#3756)
* Add "until" and "select" as Bash keywords

* Add CHANGES.md entry
2023-04-19 03:06:06 -04:00