From 36edac03557664bbb9f9265d891ea9c9065145c2 Mon Sep 17 00:00:00 2001 From: Marceline Cramer Date: Wed, 15 Apr 2026 08:37:09 -0600 Subject: [PATCH] Initial commit --- .gitignore | 1 + .vscode/launch.json | 12 + CONTRIBUTING.md | 1 + COPYING.txt | 661 ++ Cargo.lock | 1480 +++++ Cargo.toml | 38 + README.md | 12 + crates/frontend/Cargo.toml | 20 + crates/frontend/src/ast.rs | 85 + crates/frontend/src/diagnostic.rs | 300 + crates/frontend/src/editor.rs | 324 + crates/frontend/src/lib.rs | 35 + crates/frontend/src/workspace.rs | 309 + crates/ir/Cargo.toml | 18 + crates/ir/src/lib.rs | 248 + crates/lsp/Cargo.toml | 43 + crates/lsp/src/lib.rs | 49 + crates/lsp/src/wasm.rs | 81 + examples/NQueens.rp1 | 20 + tree-sitter-kerolox/.editorconfig | 50 + tree-sitter-kerolox/.gitattributes | 46 + tree-sitter-kerolox/.gitignore | 48 + tree-sitter-kerolox/Cargo.toml | 35 + tree-sitter-kerolox/bindings/rust/build.rs | 63 + tree-sitter-kerolox/bindings/rust/lib.rs | 60 + tree-sitter-kerolox/grammar.js | 157 + tree-sitter-kerolox/jsconfig.json | 5 + tree-sitter-kerolox/package-lock.json | 382 ++ tree-sitter-kerolox/package.json | 52 + tree-sitter-kerolox/queries/highlights.scm | 35 + tree-sitter-kerolox/queries/injections.scm | 5 + tree-sitter-kerolox/src/grammar.json | 1062 ++++ tree-sitter-kerolox/src/node-types.json | 772 +++ tree-sitter-kerolox/src/parser.c | 5002 ++++++++++++++++ tree-sitter-kerolox/src/tree_sitter/alloc.h | 54 + tree-sitter-kerolox/src/tree_sitter/array.h | 330 + tree-sitter-kerolox/src/tree_sitter/parser.h | 286 + tree-sitter-kerolox/tree-sitter.json | 25 + vscode-ext/.gitignore | 5 + vscode-ext/.vscodeignore | 7 + vscode-ext/language-configuration.json | 29 + vscode-ext/package-lock.json | 5665 ++++++++++++++++++ vscode-ext/package.json | 46 + vscode-ext/src/extension.ts | 30 + vscode-ext/tsconfig.json | 23 + vscode-ext/webpack.config.js | 76 + 46 files changed, 18087 insertions(+) create mode 100644 .gitignore create mode 100644 .vscode/launch.json create mode 100644 CONTRIBUTING.md create mode 100644 COPYING.txt create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 README.md create mode 100644 crates/frontend/Cargo.toml create mode 100644 crates/frontend/src/ast.rs create mode 100644 crates/frontend/src/diagnostic.rs create mode 100644 crates/frontend/src/editor.rs create mode 100644 crates/frontend/src/lib.rs create mode 100644 crates/frontend/src/workspace.rs create mode 100644 crates/ir/Cargo.toml create mode 100644 crates/ir/src/lib.rs create mode 100644 crates/lsp/Cargo.toml create mode 100644 crates/lsp/src/lib.rs create mode 100644 crates/lsp/src/wasm.rs create mode 100644 examples/NQueens.rp1 create mode 100644 tree-sitter-kerolox/.editorconfig create mode 100644 tree-sitter-kerolox/.gitattributes create mode 100644 tree-sitter-kerolox/.gitignore create mode 100644 tree-sitter-kerolox/Cargo.toml create mode 100644 tree-sitter-kerolox/bindings/rust/build.rs create mode 100644 tree-sitter-kerolox/bindings/rust/lib.rs create mode 100644 tree-sitter-kerolox/grammar.js create mode 100644 tree-sitter-kerolox/jsconfig.json create mode 100644 tree-sitter-kerolox/package-lock.json create mode 100644 tree-sitter-kerolox/package.json create mode 100644 tree-sitter-kerolox/queries/highlights.scm create mode 100644 tree-sitter-kerolox/queries/injections.scm create mode 100644 tree-sitter-kerolox/src/grammar.json create mode 100644 tree-sitter-kerolox/src/node-types.json create mode 100644 tree-sitter-kerolox/src/parser.c create mode 100644 tree-sitter-kerolox/src/tree_sitter/alloc.h create mode 100644 tree-sitter-kerolox/src/tree_sitter/array.h create mode 100644 tree-sitter-kerolox/src/tree_sitter/parser.h create mode 100644 tree-sitter-kerolox/tree-sitter.json create mode 100644 vscode-ext/.gitignore create mode 100644 vscode-ext/.vscodeignore create mode 100644 vscode-ext/language-configuration.json create mode 100644 vscode-ext/package-lock.json create mode 100644 vscode-ext/package.json create mode 100644 vscode-ext/src/extension.ts create mode 100644 vscode-ext/tsconfig.json create mode 100644 vscode-ext/webpack.config.js diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c41cc9e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..f6dc378 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,12 @@ +{ + "configurations": [ + { + "name": "Extension", + "type": "extensionHost", + "request": "launch", + "args": [ + "--extensionDevelopmentPath=${workspaceFolder}/vscode-ext" + ] + } + ] +} \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..7e2b3e7 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1 @@ +TODO: document tree-sitter generation rules (with old ABI version) diff --git a/COPYING.txt b/COPYING.txt new file mode 100644 index 0000000..be3f7b2 --- /dev/null +++ b/COPYING.txt @@ -0,0 +1,661 @@ + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..e4f7818 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,1480 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aho-corasick" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" +dependencies = [ + "memchr", +] + +[[package]] +name = "allocator-api2" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" + +[[package]] +name = "arbitrary" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1" +dependencies = [ + "derive_arbitrary", +] + +[[package]] +name = "ariadne" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36f5e3dca4e09a6f340a61a0e9c7b61e030c69fc27bf29d73218f7e5e3b7638f" +dependencies = [ + "concolor", + "unicode-width", + "yansi", +] + +[[package]] +name = "async-channel" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2" +dependencies = [ + "concurrent-queue", + "event-listener-strategy", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-trait" +version = "0.1.89" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "auto_impl" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffdcb70bdbc4d478427380519163274ac86e52916e10f0a8889adf0f96d3fee7" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "autocfg" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitflags" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af" + +[[package]] +name = "boxcar" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36f64beae40a84da1b4b26ff2761a5b895c12adc41dc25aaee1c4f2bbfe97a6e" + +[[package]] +name = "bumpalo" +version = "3.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb" + +[[package]] +name = "bytes" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33" + +[[package]] +name = "cc" +version = "1.2.59" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7a4d3ec6524d28a329fc53654bbadc9bdd7b0431f5d65f1a56ffb28a1ee5283" +dependencies = [ + "find-msvc-tools", + "shlex", +] + +[[package]] +name = "cfg-if" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" + +[[package]] +name = "concolor" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b946244a988c390a94667ae0e3958411fa40cc46ea496a929b263d883f5f9c3" +dependencies = [ + "bitflags 1.3.2", + "concolor-query", + "is-terminal", +] + +[[package]] +name = "concolor-query" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88d11d52c3d7ca2e6d0040212be9e4dbbcd78b6447f535b6b561f449427944cf" +dependencies = [ + "windows-sys 0.45.0", +] + +[[package]] +name = "concurrent-queue" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-deque" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-queue" +version = "0.3.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f58bbc28f91df819d0aa2a2c00cd19754769c2fad90579b3592b1c9ba7a3115" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" + +[[package]] +name = "dashmap" +version = "5.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" +dependencies = [ + "cfg-if", + "hashbrown 0.14.5", + "lock_api", + "once_cell", + "parking_lot_core", +] + +[[package]] +name = "derive_arbitrary" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "displaydoc" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "either" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "event-listener" +version = "5.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13b66accf52311f30a0db42147dadea9850cb48cd070028831ae5f5d4b856ab" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener-strategy" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" +dependencies = [ + "event-listener", + "pin-project-lite", +] + +[[package]] +name = "find-msvc-tools" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" + +[[package]] +name = "foldhash" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "futures" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b147ee9d1f6d097cef9ce628cd2ee62288d963e16fb287bd9286455b241382d" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d" + +[[package]] +name = "futures-io" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718" + +[[package]] +name = "futures-macro" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "futures-sink" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893" + +[[package]] +name = "futures-task" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393" + +[[package]] +name = "futures-util" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "slab", +] + +[[package]] +name = "hashbrown" +version = "0.14.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" + +[[package]] +name = "hashbrown" +version = "0.15.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash", +] + +[[package]] +name = "hashbrown" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f467dd6dccf739c208452f8014c75c18bb8301b050ad1cfb27153803edb0f51" + +[[package]] +name = "hashlink" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7382cf6263419f2d8df38c55d7da83da5c18aef87fc7a7fc1fb1e344edfe14c1" +dependencies = [ + "hashbrown 0.15.5", +] + +[[package]] +name = "hermit-abi" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" + +[[package]] +name = "httparse" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" + +[[package]] +name = "icu_collections" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38" + +[[package]] +name = "icu_properties" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de" +dependencies = [ + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14" + +[[package]] +name = "icu_provider" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "indexmap" +version = "2.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" +dependencies = [ + "equivalent", + "hashbrown 0.17.0", +] + +[[package]] +name = "intrusive-collections" +version = "0.9.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "189d0897e4cbe8c75efedf3502c18c887b05046e59d28404d4d8e46cbc4d1e86" +dependencies = [ + "memoffset", +] + +[[package]] +name = "inventory" +version = "0.3.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4f0c30c76f2f4ccee3fe55a2435f691ca00c0e4bd87abe4f4a851b1d4dac39b" +dependencies = [ + "rustversion", +] + +[[package]] +name = "is-terminal" +version = "0.4.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3640c1c38b8e4e43584d8df18be5fc6b0aa314ce6ebf51b53313d4306cca8e46" +dependencies = [ + "hermit-abi", + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "js-sys" +version = "0.3.95" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2964e92d1d9dc3364cae4d718d93f227e3abb088e747d92e0395bfdedf1c12ca" +dependencies = [ + "cfg-if", + "futures-util", + "once_cell", + "wasm-bindgen", +] + +[[package]] +name = "kerolox-frontend" +version = "0.1.0" +dependencies = [ + "ariadne", + "kerolox-ir", + "lsp-types", + "ropey", + "salsa", + "smallvec", + "tree-sitter", + "tree-sitter-kerolox", +] + +[[package]] +name = "kerolox-ir" +version = "0.1.0" +dependencies = [ + "arbitrary", + "ordered-float", + "serde", +] + +[[package]] +name = "kerolox-lsp" +version = "0.1.0" +dependencies = [ + "futures-util", + "kerolox-frontend", + "lsp-types", + "sluice", + "tokio-util", + "tower-lsp", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams", +] + +[[package]] +name = "libc" +version = "0.2.184" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48f5d2a454e16a5ea0f4ced81bd44e4cfc7bd3a507b61887c99fd3538b28e4af" + +[[package]] +name = "litemap" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "lsp-types" +version = "0.94.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c66bfd44a06ae10647fe3f8214762e9369fd4248df1350924b4ef9e770a85ea1" +dependencies = [ + "bitflags 1.3.2", + "serde", + "serde_json", + "serde_repr", + "url", +] + +[[package]] +name = "memchr" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" + +[[package]] +name = "memoffset" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "ordered-float" +version = "4.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7bb71e1b3fa6ca1c61f383464aaf2bb0e2f8e772a1f01d486832464de363b951" +dependencies = [ + "arbitrary", + "num-traits", + "rand", + "serde", +] + +[[package]] +name = "parking" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-link", +] + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "pin-project" +version = "1.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1749c7ed4bcaf4c3d0a3efc28538844fb29bcdd7d2b67b2be7e20ba861ff517" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9b20ed30f105399776b9c883e68e536ef602a16ae6f596d2c473591d6ad64c6" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "portable-atomic" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" + +[[package]] +name = "potential_utf" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564" +dependencies = [ + "zerovec", +] + +[[package]] +name = "proc-macro2" +version = "1.0.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "rand" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +dependencies = [ + "rand_core", + "serde", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "serde", +] + +[[package]] +name = "rayon" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f" +dependencies = [ + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" +dependencies = [ + "crossbeam-deque", + "crossbeam-utils", +] + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags 2.11.0", +] + +[[package]] +name = "regex" +version = "1.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a" + +[[package]] +name = "ropey" +version = "1.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93411e420bcd1a75ddd1dc3caf18c23155eda2c090631a85af21ba19e97093b5" +dependencies = [ + "smallvec", + "str_indices", +] + +[[package]] +name = "rustc-hash" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe" + +[[package]] +name = "rustversion" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" + +[[package]] +name = "salsa" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f77debccd43ba198e9cee23efd7f10330ff445e46a98a2b107fed9094a1ee676" +dependencies = [ + "boxcar", + "crossbeam-queue", + "crossbeam-utils", + "hashbrown 0.15.5", + "hashlink", + "indexmap", + "intrusive-collections", + "inventory", + "parking_lot", + "portable-atomic", + "rayon", + "rustc-hash", + "salsa-macro-rules", + "salsa-macros", + "smallvec", + "thin-vec", + "tracing", +] + +[[package]] +name = "salsa-macro-rules" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea07adbf42d91cc076b7daf3b38bc8168c19eb362c665964118a89bc55ef19a5" + +[[package]] +name = "salsa-macros" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d16d4d8b66451b9c75ddf740b7fc8399bc7b8ba33e854a5d7526d18708f67b05" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "synstructure", +] + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "serde" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_json" +version = "1.0.149" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" +dependencies = [ + "indexmap", + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "serde_repr" +version = "0.1.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "sluice" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "160b744a45e8261307bcfe03c98e2f8274502207d534c9a64b675c4db1b6bd58" +dependencies = [ + "async-channel", + "futures-core", + "futures-io", +] + +[[package]] +name = "smallvec" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "str_indices" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d08889ec5408683408db66ad89e0e1f93dff55c73a4ccc71c427d5b277ee47e6" + +[[package]] +name = "streaming-iterator" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b2231b7c3057d5e4ad0156fb3dc807d900806020c5ffa3ee6ff2c8c76fb8520" + +[[package]] +name = "syn" +version = "2.0.117" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "synstructure" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "thin-vec" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da322882471314edc77fa5232c587bcb87c9df52bfd0d7d4826f8868ead61899" + +[[package]] +name = "tinystr" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "tokio" +version = "1.51.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f66bf9585cda4b724d3e78ab34b73fb2bbaba9011b9bfdf69dc836382ea13b8c" +dependencies = [ + "pin-project-lite", +] + +[[package]] +name = "tokio-util" +version = "0.7.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098" +dependencies = [ + "bytes", + "futures-core", + "futures-io", + "futures-sink", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "tower" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" +dependencies = [ + "futures-core", + "futures-util", + "pin-project", + "pin-project-lite", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + +[[package]] +name = "tower-lsp" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4ba052b54a6627628d9b3c34c176e7eda8359b7da9acd497b9f20998d118508" +dependencies = [ + "async-trait", + "auto_impl", + "bytes", + "dashmap", + "futures", + "httparse", + "lsp-types", + "memchr", + "serde", + "serde_json", + "tokio", + "tokio-util", + "tower", + "tower-lsp-macros", + "tracing", +] + +[[package]] +name = "tower-lsp-macros" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84fd902d4e0b9a4b27f2f440108dc034e1758628a9b702f8ec61ad66355422fa" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tower-service" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", +] + +[[package]] +name = "tree-sitter" +version = "0.26.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "887bd495d0582c5e3e0d8ece2233666169fa56a9644d172fc22ad179ab2d0538" +dependencies = [ + "cc", + "regex", + "regex-syntax", + "serde_json", + "streaming-iterator", + "tree-sitter-language", +] + +[[package]] +name = "tree-sitter-kerolox" +version = "0.1.0" +dependencies = [ + "cc", + "tree-sitter", + "tree-sitter-language", +] + +[[package]] +name = "tree-sitter-language" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "009994f150cc0cd50ff54917d5bc8bffe8cad10ca10d81c34da2ec421ae61782" + +[[package]] +name = "unicode-ident" +version = "1.0.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" + +[[package]] +name = "unicode-width" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" + +[[package]] +name = "url" +version = "2.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", + "serde_derive", +] + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "wasm-bindgen" +version = "0.2.118" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf938a0bacb0469e83c1e148908bd7d5a6010354cf4fb73279b7447422e3a89" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f371d383f2fb139252e0bfac3b81b265689bf45b6874af544ffa4c975ac1ebf8" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.118" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eeff24f84126c0ec2db7a449f0c2ec963c6a49efe0698c4242929da037ca28ed" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.118" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d08065faf983b2b80a79fd87d8254c409281cf7de75fc4b773019824196c904" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.118" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fd04d9e306f1907bd13c6361b5c6bfc7b3b3c095ed3f8a9246390f8dbdee129" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "wasm-streams" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65" +dependencies = [ + "futures-util", + "js-sys", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "web-sys" +version = "0.3.95" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f2dfbb17949fa2088e5d39408c48368947b86f7834484e87b73de55bc14d97d" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-targets" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + +[[package]] +name = "windows_i686_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + +[[package]] +name = "windows_i686_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + +[[package]] +name = "writeable" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4" + +[[package]] +name = "yansi" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" + +[[package]] +name = "yoke" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abe8c5fda708d9ca3df187cae8bfb9ceda00dd96231bed36e445a1a48e66f9ca" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "synstructure", +] + +[[package]] +name = "zerofrom" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69faa1f2a1ea75661980b013019ed6687ed0e83d069bc1114e2cc74c6c04c4df" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "synstructure", +] + +[[package]] +name = "zerotrie" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "zmij" +version = "1.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..b71ba8f --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,38 @@ +[workspace] +resolver = "3" +members = ["crates/*", "tree-sitter-kerolox"] + +[workspace.package] +license = "AGPL-3.0-or-later" +edition = "2021" +version = "0.1.0" +authors = ["Marceline Cramer "] +repository = "https://github.com/marceline-cramer/kerolox" # TODO: update +rust-version = "1.86" + +[workspace.dependencies] +arbitrary = { version = "1", features = ["derive"] } +ariadne = { version = "0.5", features = ["auto-color"] } +futures-util = { version = "0.3", default-features = false } +lsp-types = "0.94" +ordered-float = { version = "4", features = ["serde"] } +ropey = "1.6" +salsa = "0.26" +serde = { version = "1", features = ["derive", "rc"] } +smallvec = "1.15" +tower-lsp = "0.20" +tree-sitter = "^0.26.3" + +# internal workspace members +kerolox-ir.path = "crates/ir" +kerolox-frontend.path = "crates/frontend" +kerolox-lsp.path = "crates/lsp" +tree-sitter-kerolox.path = "tree-sitter-kerolox" + +# wasm bindings +# TODO: update if necessary +# TODO: vet all for use +wasm-bindgen = "0.2" +wasm-bindgen-futures = "0.4" +wasm-streams = "0.4" +serde-wasm-bindgen = "0.6" diff --git a/README.md b/README.md new file mode 100644 index 0000000..f609888 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +- TODO: update repository URL in tree-sitter-kerolox/package.json +- TODO: plan out documentation generation +- TODO: point to generated package documentation +- TODO: add VSCode extension package +- TODO: Warren abstract machine compiler for proof-of-concept interpreter? +- TODO: vet dependency tree + +# Kerolox + +**Kerolox** is a programming language for expressing abductive logic problems. + +While most existing logic systems are targeted towards academics or modeling and verification middleware, Kerolox's main target audience is **non-programmers**. Strong developer tooling, documentation by example, and expressive compiler reports are the means to this end. Kerolox's philosophy towards software is that users are smarter than you think and computers are more powerful than you could imagine. In Kerolox, **all users are power users**. diff --git a/crates/frontend/Cargo.toml b/crates/frontend/Cargo.toml new file mode 100644 index 0000000..7f08743 --- /dev/null +++ b/crates/frontend/Cargo.toml @@ -0,0 +1,20 @@ +[package] +name = "kerolox-frontend" +version.workspace = true +edition.workspace = true +license.workspace = true +authors.workspace = true +repository.workspace = true +rust-version.workspace = true + +[dependencies] +ariadne.workspace = true +kerolox-ir.workspace = true +lsp-types.workspace = true +ropey.workspace = true +salsa.workspace = true +smallvec.workspace = true +tree-sitter.workspace = true +tree-sitter-kerolox.workspace = true + +[features] diff --git a/crates/frontend/src/ast.rs b/crates/frontend/src/ast.rs new file mode 100644 index 0000000..e5144c1 --- /dev/null +++ b/crates/frontend/src/ast.rs @@ -0,0 +1,85 @@ +// Copyright (C) 2025-2026 Marceline Cramer +// SPDX-License-Identifier: AGPL-3.0-or-later +// +// Kerolox is free software: you can redistribute it and/or modify it under +// the terms of the GNU Affero General Public License as published by the Free +// Software Foundation, either version 3 of the License, or (at your option) any +// later version. +// +// Kerolox is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for +// more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with Kerolox. If not, see . + +use std::fmt::Display; + +use crate::prelude::*; + +// TODO: migrate AST logic (after redesigning grammar) +// TODO: AST unit tests? executing on examples may be sufficient + +/// A definition of a relation. +// TODO: add commment above definition AST node for documentation +#[salsa::tracked] +#[derive(Debug)] +pub struct Relation<'db> { + /// The AST node this relation corresponds to. + pub ast: AstNode, + + /// The name of this relation. + pub name: WithAst, + + /// Whether this relation is a decision. + pub is_decision: bool, + + /// The IO of this relation. + pub io: ir::RelationIO, + + /// This relation's abstract type (pure syntax). + pub ty: WithAst, +} + +/// An abstract type alias (syntax representation). +#[salsa::tracked] +#[derive(Debug)] +pub struct TypeAlias<'db> { + /// The AST node of this type alias. + pub ast: AstNode, + + /// The type alias's name. + pub name: WithAst, + + /// The type alias's abstract type. + pub ty: WithAst, +} + +/// An abstract type definition. +/// +/// This just represents the literal, syntactic type representation, without +/// dereferencing any aliases or checking semantic validity. +#[derive(Clone, PartialEq, Eq, Hash)] +pub enum Type { + Named(String), + Primitive(ir::Type), + Tuple(Vec>), +} + +impl Display for Type { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + match self { + Type::Named(name) => write!(f, "{name}"), + Type::Primitive(ty) => write!(f, "{ty:?}"), + Type::Tuple(els) => { + let els = els + .iter() + .map(ToString::to_string) + .collect::>() + .join(", "); + write!(f, "({els})") + } + } + } +} diff --git a/crates/frontend/src/diagnostic.rs b/crates/frontend/src/diagnostic.rs new file mode 100644 index 0000000..35458e4 --- /dev/null +++ b/crates/frontend/src/diagnostic.rs @@ -0,0 +1,300 @@ +// Copyright (C) 2025-2026 Marceline Cramer +// SPDX-License-Identifier: AGPL-3.0-or-later +// +// Kerolox is free software: you can redistribute it and/or modify it under +// the terms of the GNU Affero General Public License as published by the Free +// Software Foundation, either version 3 of the License, or (at your option) any +// later version. +// +// Kerolox is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for +// more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with Kerolox. If not, see . + +use std::{ + any::TypeId, + collections::HashMap, + hash::{DefaultHasher, Hash, Hasher}, + ops::{Deref, Range}, + panic::UnwindSafe, +}; + +use ariadne::{Color, Label, Report, ReportKind}; +use lsp_types::Diagnostic as LspDiagnostic; +use salsa::{Accumulator, Database}; + +use crate::{ + prelude::*, + workspace::{File, Span}, +}; + +#[derive(Clone, PartialEq, Eq, Hash)] +pub struct SimpleError { + pub ast: AstNode, + pub message: String, +} + +impl SimpleError { + pub fn new(ast: AstNode, message: impl ToString) -> Self { + Self { + ast, + message: message.to_string(), + } + } +} + +impl BasicDiagnostic for SimpleError { + fn range(&self) -> Range { + self.ast..self.ast + } + + fn message(&self) -> String { + self.message.clone() + } + + fn kind(&self) -> DiagnosticKind { + DiagnosticKind::Error + } + + fn source(&self) -> Option { + None + } +} + +pub trait BasicDiagnostic: DynEq + UnwindSafe + Send + Sync + 'static { + fn range(&self) -> Range; + + fn message(&self) -> String; + + fn kind(&self) -> DiagnosticKind; + + // TODO: vet use of this method + fn source(&self) -> Option { + None + } + + fn notes(&self) -> Vec> { + vec![] + } +} + +impl Diagnostic for T { + fn to_lsp(&self, db: &dyn Database) -> Vec<(File, LspDiagnostic)> { + let message = LspDiagnostic { + range: ast_span(db, self.range()).into(), + severity: Some(self.kind().into()), + source: self.source(), + message: self.message(), + ..Default::default() + }; + + let notes = self.notes().into_iter().map(|note| LspDiagnostic { + range: ast_span(db, note.ast..note.ast).into(), + severity: Some(lsp_types::DiagnosticSeverity::HINT), + source: self.source(), + message: note.inner, + ..Default::default() + }); + + let file = self.range().start.file(db); + notes.chain([message]).map(|d| (file, d)).collect() + } + + fn to_ariadne(&self, db: &dyn Database) -> Vec> { + // create span + let span = ReportSpan { + file: self.range().start.file(db), + range: ast_to_range(db, self.range()), + }; + + // configure the report + let config = ariadne::Config::new() + .with_cross_gap(true) + .with_compact(true); + + // pick color based on kind + use DiagnosticKind::*; + let (kind, color) = match self.kind() { + Error => (ReportKind::Error, Color::Red), + Warning => (ReportKind::Warning, Color::Yellow), + Info => (ReportKind::Advice, Color::Green), + Note => (ReportKind::Custom("note", Color::Blue), Color::Blue), + }; + + // create labels + let labels = self.notes().clone().into_iter().map(|msg| { + let span = ReportSpan { + file: self.range().start.file(db), + range: ast_to_range(db, msg.ast..msg.ast), + }; + + Label::new(span) + .with_message(&msg.inner) + .with_color(Color::Blue) + .with_order(1) + }); + + // build report + let report = Report::build(kind, span.clone()) + .with_config(config) + .with_message(self.message()) + .with_label(Label::new(span).with_color(color)) + .with_labels(labels) + .finish(); + + // return only one report + vec![report] + } +} + +pub fn ast_to_range(db: &dyn Database, ast: Range) -> Range { + // retrieve the file corresponding to the range + let file = ast.start.file(db); + assert!(file == ast.end.file(db), "AST node files do not match"); + + // lookup the file source + let src = file.contents(db); + + // calculate character offsets within file source + let span = ast_span(db, ast); + let start = src.line_to_char(span.start.line) + span.start.column; + let end = src.line_to_char(span.end.line) + span.end.column; + + // return the total span + start..end +} + +pub fn ast_span(db: &dyn Database, ast: Range) -> Span { + // look up the points corresponding to the span ends + let start = ast.start.span(db).start; + let end = ast.end.span(db).end; + + // combine them + Span { start, end } +} + +#[salsa::accumulator] +pub struct DynDiagnostic(pub Box); + +impl Deref for DynDiagnostic { + type Target = dyn Diagnostic; + + fn deref(&self) -> &Self::Target { + self.0.as_ref() + } +} + +pub trait AccumulateDiagnostic: Diagnostic + Sized { + fn accumulate(self, db: &dyn Database); +} + +impl AccumulateDiagnostic for T { + fn accumulate(self, db: &dyn Database) { + DynDiagnostic(Box::new(self)).accumulate(db); + } +} + +pub trait Diagnostic: DynEq + UnwindSafe + Send + Sync + 'static { + fn to_lsp(&self, db: &dyn Database) -> Vec<(File, LspDiagnostic)>; + fn to_ariadne(&self, db: &dyn Database) -> Vec>; +} + +/// A trait to allow a value to be compared against value-erased others. +pub trait DynEq { + fn dyn_eq(&self) -> (TypeId, u64); +} + +impl DynEq for T { + fn dyn_eq(&self) -> (TypeId, u64) { + let mut hasher = DefaultHasher::new(); + self.hash(&mut hasher); + (TypeId::of::(), hasher.finish()) + } +} + +/// The kind (severity, level, etc.) of a diagnostic. +#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)] +pub enum DiagnosticKind { + Error, + Warning, + Info, + Note, +} + +impl From for lsp_types::DiagnosticSeverity { + fn from(kind: DiagnosticKind) -> Self { + use lsp_types::DiagnosticSeverity; + use DiagnosticKind::*; + match kind { + Error => DiagnosticSeverity::ERROR, + Warning => DiagnosticSeverity::WARNING, + Info => DiagnosticSeverity::INFORMATION, + Note => DiagnosticSeverity::HINT, + } + } +} + +/// Custom Ariadne type for reporting spans. +/// +/// Ariadne would blanket-impl for (File, Range) except that File does +/// not implement Debug, therefore this is necessary. +#[derive(Clone, PartialEq, Eq, Hash)] +pub struct ReportSpan { + pub file: File, + pub range: Range, +} + +impl ariadne::Span for ReportSpan { + type SourceId = File; + + fn source(&self) -> &Self::SourceId { + &self.file + } + + fn start(&self) -> usize { + self.range.start + } + + fn end(&self) -> usize { + self.range.end + } +} + +/// Custom Ariadne type to implement `Cache` with [File]. +/// +/// [File] doesn't implement [Display], so a manual implementation is needed. +pub struct ReportCache<'db> { + /// The database to look up file properties with. + db: &'db dyn Database, + + /// The cache of file strings. + files: HashMap>, +} + +impl ariadne::Cache for ReportCache<'_> { + type Storage = String; + + fn fetch(&mut self, id: &File) -> Result<&ariadne::Source, impl std::fmt::Debug> { + Ok::<_, ()>(self.files.entry(*id).or_insert_with(|| { + let contents = id.contents(self.db).to_string(); + ariadne::Source::from(contents) + })) + } + + fn display<'a>(&self, id: &'a File) -> Option { + Some(id.uri(self.db).clone()) + } +} + +impl<'db> ReportCache<'db> { + /// Creates an empty report cache. + pub fn new(db: &'db dyn Database) -> Self { + Self { + db, + files: HashMap::new(), + } + } +} diff --git a/crates/frontend/src/editor.rs b/crates/frontend/src/editor.rs new file mode 100644 index 0000000..64aa9b1 --- /dev/null +++ b/crates/frontend/src/editor.rs @@ -0,0 +1,324 @@ +// Copyright (C) 2025-2026 Marceline Cramer +// SPDX-License-Identifier: AGPL-3.0-or-later +// +// Kerolox is free software: you can redistribute it and/or modify it under +// the terms of the GNU Affero General Public License as published by the Free +// Software Foundation, either version 3 of the License, or (at your option) any +// later version. +// +// Kerolox is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for +// more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with Kerolox. If not, see . + +use std::collections::HashMap; + +use lsp_types::{DidChangeTextDocumentParams, TextDocumentContentChangeEvent, Url}; +use ropey::Rope; +use salsa::Setter; +use tree_sitter::{InputEdit, Language, Node, Parser, Tree}; + +use crate::{prelude::*, workspace::*}; + +pub struct Editor { + contents: Rope, + parser: Parser, + tree: Tree, + file: File, + ast: HashMap, +} + +impl Editor { + /// Creates a new editor. + pub fn new( + db: &mut dyn Database, + workspace: Workspace, + uri: Url, + language: &Language, + text: &str, + ) -> Self { + // initialize the tree-sitter parser and tree + let mut parser = Parser::new(); + + parser + .set_language(language) + .expect("failed to set parser language"); + + let tree = parser + .parse(text, None) + .expect("failed to create initial tree"); + + // create the initial file + let contents = Rope::from_str(text); + let file = File::new(db, workspace, uri, contents.clone(), None); + + // create the editor + let mut ed = Self { + contents, + parser, + tree, + file, + ast: HashMap::new(), + }; + + // update the AST for the initial text contents + ed.update_ast(db); + + // done! + ed + } + + /// Handle text document change parameters. + pub fn on_change(&mut self, db: &mut dyn Database, params: DidChangeTextDocumentParams) { + // push the changes into the content and current tree + for change in params.content_changes.iter() { + // TODO: send this as an error message to LSP client + // can't pass through result, so dedicated message needs to be sent + // alternatively it could just log or panic + let _ = self.on_content_change(change); + } + + // create a lookup function to access contiguous chunks of the contents + let mut lookup = |byte, _position| { + let (chunk, chunk_byte, _, _) = self.contents.chunk_at_byte(byte); + let offset = byte - chunk_byte; + &chunk.as_bytes()[offset..] + }; + + // update the parse tree + self.tree = self + .parser + .parse_with_options(&mut lookup, Some(&self.tree), None) + .expect("failed to parse"); + + // update the text contents + self.file.set_contents(db).to(self.contents.clone()); + + // update AST + self.update_ast(db); + } + + /// Handle a text document content change event. + fn on_content_change(&mut self, ev: &TextDocumentContentChangeEvent) -> ropey::Result<()> { + // if `range` is None, the client replaced the whole document + if ev.range.is_none() { + // replace the entire contents + self.contents = Rope::from_str(&ev.text); + + // reparse from scratch + self.tree = self + .parser + .parse(&ev.text, None) + .expect("failed to reparse document"); + + return Ok(()); + } + + // fetch the range from the ev event (we already handled None above) + let range = ev.range.as_ref().unwrap(); + + // LSP positions are UTF-16 code unit columns; convert them into rope char indices. + let start_row = range.start.line as usize; + let start_col = range.start.character as usize; + let end_row = range.end.line as usize; + let end_col = range.end.character as usize; + + // get the character indices of the beginning of each line + let start_line_char = self.contents.try_line_to_char(start_row)?; + let end_line_char = self.contents.try_line_to_char(end_row)?; + + // determine end-of-line char indices (for clamping) + let next_line_after_start = match self.contents.try_line_to_char(start_row + 1) { + Ok(v) => v, + Err(_) => self.contents.len_chars(), + }; + let next_line_after_end = match self.contents.try_line_to_char(end_row + 1) { + Ok(v) => v, + Err(_) => self.contents.len_chars(), + }; + + // compute absolute char indices for start/end by mapping UTF-16 columns + let start_char = self.col_to_char(start_line_char, next_line_after_start, start_col); + let end_char = self.col_to_char(end_line_char, next_line_after_end, end_col); + + // compute column values (UTF-16 columns) for start and old end to feed into InputEdit + let start_col_char = self.utf16_column(start_line_char, start_char)?; + let old_end_col_char = self.utf16_column(end_line_char, end_char)?; + + // convert the character indices to byte indices (before mutating the rope) + let start_byte = self.contents.char_to_byte(start_char); + let old_end_byte = self.contents.char_to_byte(end_char); + + // perform the edit on the rope + self.contents.try_remove(start_char..end_char)?; + self.contents.insert(start_char, &ev.text); + + // compute the new end byte after insertion + let new_end_byte = start_byte + ev.text.len(); + + // derive new_end_row and new_end_col (in char units) from the new_end_byte + let new_end_row = self.contents.try_byte_to_line(new_end_byte)?; + let new_end_row_start_char = self.contents.try_line_to_char(new_end_row)?; + let new_end_char = self.contents.try_byte_to_char(new_end_byte)?; + let new_end_col = self.utf16_column(new_end_row_start_char, new_end_char)?; + + // edit the parse tree with correct byte + char positions + use tree_sitter::Point; + self.tree.edit(&InputEdit { + start_byte, + old_end_byte, + new_end_byte, + start_position: Point { + row: start_row, + column: start_col_char, + }, + old_end_position: Point { + row: end_row, + column: old_end_col_char, + }, + new_end_position: Point { + row: new_end_row, + column: new_end_col, + }, + }); + + Ok(()) + } + + // Map an LSP UTF-16 column value into a Rope char index inside the given line. + // `line_start_char` and `line_end_char` are absolute char indices for the start of the + // line and the start of the next line (used to clamp the computation). + fn col_to_char( + &self, + line_start_char: usize, + line_end_char: usize, + mut utf16_col: usize, + ) -> usize { + let mut offset = 0usize; + while line_start_char + offset < line_end_char { + let ch = self.contents.char(line_start_char + offset); + let units = ch.len_utf16(); + if utf16_col == 0 { + break; + } + if utf16_col < units { + // requested column falls inside this char; clamp to this char index + break; + } + utf16_col = utf16_col.saturating_sub(units); + offset += 1; + } + line_start_char + offset + } + + /// Calculates the UTF-16 codepoint column of a given char index in the rope. + fn utf16_column(&self, line_start_char: usize, target_char: usize) -> ropey::Result { + self.contents + .get_slice(line_start_char..target_char) + .map(|slice| slice.len_utf16_cu()) + .ok_or(ropey::Error::CharIndexOutOfBounds( + line_start_char, + target_char, + )) + } + + /// Efficiently update inputs to the frontend with changes to the AST. + pub fn update_ast(&mut self, db: &mut dyn Database) { + let mut new_ast = HashMap::new(); + let new_root = self.add_node(db, &mut new_ast, self.tree.root_node()); + self.file.set_root(db).to(Some(new_root)); + self.ast = new_ast; + } + + fn add_node( + &self, + db: &mut dyn Database, + new_ast: &mut HashMap, + node: Node, + ) -> AstNode { + // add the node's children + let mut children = Children::default(); + let mut fields = Vec::new(); + let mut cursor = node.walk(); + for (idx, child) in node.children(&mut cursor).enumerate() { + // add the node + let child = self.add_node(db, new_ast, child); + + // push the child to the list + children.push(child); + + // add the field, if it exists + if let Some(field) = node.field_name_for_child(idx as u32) { + fields.push((field, child)); + } + } + + // convert the range type to a frontend span + let span = Span { + start: Point { + line: node.range().start_point.row, + column: node.range().start_point.column, + }, + end: Point { + line: node.range().end_point.row, + column: node.range().end_point.column, + }, + }; + + // if our AST already contains this node, skip adding it. node + // IDs change when their contents change, so this ensures that we + // don't modify inputs unnecessarily. we do this after children are + // iterated so that all of the descendants of old trees are kept + // before we remove all unencountered nodes after this loop. + if let Some(ast_node) = self.ast.get(&node.id()) { + // update the span of an existing node + ast_node.set_span(db).to(span); + + // update children and fields so the AST reflects the current tree + ast_node.set_children(db).to(children); + ast_node.set_fields(db).to(fields); + + // add this node to the new AST + new_ast.insert(node.id(), *ast_node); + + // return this node + return *ast_node; + } + + // create the AST node + let symbol = node.grammar_name(); + let ast_node = AstNode::new(db, self.file, node.id(), symbol, span, children, fields); + + // insert the AST node into the new AST + new_ast.insert(node.id(), ast_node); + + // return the initialized node + ast_node + } + + // TODO: move to LSP crate + /*pub fn hover(&self, db: &Db, params: HoverParams) -> Result> { + Ok(saturn_v_frontend::hover( + db, + self.file, + params.text_document_position_params.position.into(), + ) + .map(|(range, contents)| Hover { + contents: HoverContents::Scalar(MarkedString::String(contents)), + range: Some(range.into()), + })) + }*/ + + /// Retrieves the handle to the editor's file. + pub fn get_file(&self) -> File { + self.file + } + + /// Retrieves an immutable reference to this editor's contents. + pub fn get_contents(&self) -> &Rope { + &self.contents + } +} diff --git a/crates/frontend/src/lib.rs b/crates/frontend/src/lib.rs new file mode 100644 index 0000000..bdc672f --- /dev/null +++ b/crates/frontend/src/lib.rs @@ -0,0 +1,35 @@ +// Copyright (C) 2025-2026 Marceline Cramer +// SPDX-License-Identifier: AGPL-3.0-or-later +// +// Kerolox is free software: you can redistribute it and/or modify it under +// the terms of the GNU Affero General Public License as published by the Free +// Software Foundation, either version 3 of the License, or (at your option) any +// later version. +// +// Kerolox is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for +// more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with Kerolox. If not, see . + +// TODO: top-level docs +// TODO: crate-wide missing docs warning + +pub mod ast; +pub mod diagnostic; +pub mod editor; +pub mod workspace; + +pub mod prelude { + pub use kerolox_ir as ir; + pub use salsa::{Database, Setter}; + + pub use crate::{ + ast, + diagnostic::{self, AccumulateDiagnostic}, + editor, + workspace::{self, AstNode, WithAst}, + }; +} diff --git a/crates/frontend/src/workspace.rs b/crates/frontend/src/workspace.rs new file mode 100644 index 0000000..973c632 --- /dev/null +++ b/crates/frontend/src/workspace.rs @@ -0,0 +1,309 @@ +// Copyright (C) 2025-2026 Marceline Cramer +// SPDX-License-Identifier: AGPL-3.0-or-later +// +// Kerolox is free software: you can redistribute it and/or modify it under +// the terms of the GNU Affero General Public License as published by the Free +// Software Foundation, either version 3 of the License, or (at your option) any +// later version. +// +// Kerolox is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for +// more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with Kerolox. If not, see . + +// TODO: document module + +use std::{ + collections::{BTreeMap, HashMap}, + fmt::{Debug, Display}, + ops::Deref, +}; + +use lsp_types::Url; +use ropey::{Rope, RopeSlice}; +use salsa::Update; +use smallvec::SmallVec; + +use crate::{diagnostic::SimpleError, prelude::*}; + +#[salsa::input] +pub struct Workspace { + #[returns(ref)] + pub files: HashMap, + #[returns(ref)] + pub stdlib: HashMap, +} + +#[salsa::tracked] +pub struct Namespace<'db> { + #[returns(ref)] + pub items: BTreeMap>, +} + +#[derive(Clone, PartialEq, Eq, Hash, Update)] +pub enum NamespaceItem<'db> { + File(File), + Namespace(Namespace<'db>), + Relation(ast::Relation<'db>), + TypeAlias(ast::TypeAlias<'db>), + Unknown, +} + +impl<'db> NamespaceItem<'db> { + /// Returns a user-readable string identifier for what kind of item this is. + pub fn kind(&self) -> &'static str { + match self { + NamespaceItem::File(_) => "file", + NamespaceItem::Namespace(_) => "namespace", + NamespaceItem::Relation(_) => "relation", + NamespaceItem::TypeAlias(_) => "type alias", + NamespaceItem::Unknown => "unknown", + } + } +} + +#[salsa::input] +#[derive(Debug)] +pub struct File { + pub workspace: Workspace, + + #[returns(ref)] + pub uri: Url, + + #[returns(ref)] + pub contents: Rope, + + /// The root AST node. You probably want [File::ast]. + /// + /// This field is optional since [AstNode] cyclically tracks the + /// [File] it's in. This is initialized with the root immediately + /// after initialization. + pub root: Option, +} + +impl File { + /// Shadow root behind this method to retrieve the file's AST. This is so + /// we can initialize files with uninitialized ASTs. + pub fn ast(&self, db: &dyn Database) -> AstNode { + self.root(db).unwrap() + } +} + +#[derive(Copy, Clone, PartialEq, Eq, Hash)] +pub struct WithAst { + /// The AST node corresponding to this object. + pub ast: AstNode, + + /// The inner type whose AST is being tracked. + pub inner: T, +} + +impl WithAst { + pub fn new(ast: AstNode, inner: T) -> Self { + Self { ast, inner } + } + + pub fn map(self, cb: impl FnOnce(T) -> O) -> WithAst { + WithAst { + ast: self.ast, + inner: cb(self.inner), + } + } + + pub fn with(&self, inner: O) -> WithAst { + WithAst { + ast: self.ast, + inner, + } + } +} + +impl Deref for WithAst { + type Target = T; + + fn deref(&self) -> &Self::Target { + &self.inner + } +} + +impl AsRef for WithAst { + fn as_ref(&self) -> &T { + &self.inner + } +} + +impl Debug for WithAst { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + self.inner.fmt(f) + } +} + +impl Display for WithAst { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + self.inner.fmt(f) + } +} + +unsafe impl Update for WithAst { + unsafe fn maybe_update(old_pointer: *mut Self, new_value: Self) -> bool { + let old: &mut Self = unsafe { &mut *old_pointer }; + let update = T::maybe_update(&mut old.inner, new_value.inner); + let ast = old.ast != new_value.ast; + old.ast = new_value.ast; + update || ast + } +} + +#[salsa::input] +pub struct AstNode { + pub file: File, + pub id: usize, + pub symbol: &'static str, + pub span: Span, + #[returns(ref)] + pub children: Children, + #[returns(ref)] + pub fields: Vec<(&'static str, AstNode)>, +} + +impl AstNode { + pub fn contents<'db>(&self, db: &'db dyn Database) -> RopeSlice<'db> { + let span = self.span(db); + let contents = self.file(db).contents(db); + let start = contents.line_to_char(span.start.line) + span.start.column; + let end = contents.line_to_char(span.end.line) + span.end.column; + contents.slice(start..end) + } + + pub fn with(self, inner: T) -> WithAst { + WithAst { ast: self, inner } + } + + pub fn get_field(&self, db: &dyn Database, name: &str) -> Option { + for (field, ast) in self.fields(db).iter() { + if *field == name { + return Some(*ast); + } + } + + None + } + + pub fn expect_field(&self, db: &dyn Database, name: &str) -> AstNode { + self.get_field(db, name) + .unwrap_or_else(|| panic!("expected {:?} node to have {name:?} field", self.symbol(db))) + } + + pub fn get_fields( + &self, + db: &dyn Database, + name: &str, + ) -> impl Iterator + 'static { + self.fields(db) + .iter() + .filter(|(field, _ast)| *field == name) + .map(|(_name, ast)| *ast) + .collect::>() + .into_iter() + } + + pub fn get_children(&self, db: &dyn Database) -> impl Iterator + 'static { + self.children(db).clone().into_iter() + } + + pub fn with_contents(&self, db: &dyn Database) -> WithAst { + self.with(self.contents(db).to_string()) + } + + // TODO: migrate to LSP crate + pub fn location(&self, db: &dyn Database) -> lsp_types::Location { + lsp_types::Location { + uri: self.file(db).uri(db).clone(), + range: self.span(db).into(), + } + } +} + +pub type Children = SmallVec<[AstNode; 4]>; + +#[derive(Copy, Clone, Debug, Default, PartialEq, Eq, Hash)] +pub struct Span { + pub start: Point, + pub end: Point, +} + +impl From for Span { + fn from(range: lsp_types::Range) -> Self { + Self { + start: range.start.into(), + end: range.end.into(), + } + } +} + +impl From for lsp_types::Range { + fn from(span: Span) -> Self { + Self { + start: span.start.into(), + end: span.end.into(), + } + } +} + +impl Span { + pub fn contains(&self, at: Point) -> bool { + at >= self.start && at < self.end + } +} + +#[derive(Copy, Clone, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash)] +pub struct Point { + pub line: usize, + pub column: usize, +} + +impl From for Point { + fn from(pos: lsp_types::Position) -> Self { + Self { + line: pos.line as usize, + column: pos.character as usize, + } + } +} + +impl From for lsp_types::Position { + fn from(pt: Point) -> Self { + Self { + line: pt.line as u32, + character: pt.column as u32, + } + } +} + +#[salsa::tracked] +pub fn file_syntax_errors(db: &dyn Database, file: File) { + ast_syntax_errors(db, file.ast(db)); +} + +#[salsa::tracked] +pub fn ast_syntax_errors(db: &dyn Database, ast: AstNode) { + if ast.symbol(db) == "ERROR" { + // include the tree-sitter symbol and nearby text in the diagnostic message + let sym = ast.symbol(db); + let contents = ast.contents(db).to_string(); + let msg = if contents.trim().is_empty() { + format!("syntax error: {}", sym) + } else { + format!("syntax error: {} near `{}`", sym, contents.trim()) + }; + + SimpleError::new(ast, msg).accumulate(db); + } else { + ast.children(db) + .iter() + .for_each(|child| ast_syntax_errors(db, *child)); + } +} diff --git a/crates/ir/Cargo.toml b/crates/ir/Cargo.toml new file mode 100644 index 0000000..ecc9996 --- /dev/null +++ b/crates/ir/Cargo.toml @@ -0,0 +1,18 @@ +[package] +name = "kerolox-ir" +version.workspace = true +edition.workspace = true +license.workspace = true +authors.workspace = true +repository.workspace = true +rust-version.workspace = true + +[dependencies] +arbitrary = { workspace = true, optional = true } +ordered-float.workspace = true +serde = { workspace = true, optional = true } + +# TODO: test with feature power set +[features] +fuzz = ["dep:arbitrary", "ordered-float/arbitrary"] +serde = ["dep:serde"] diff --git a/crates/ir/src/lib.rs b/crates/ir/src/lib.rs new file mode 100644 index 0000000..6ccc9fc --- /dev/null +++ b/crates/ir/src/lib.rs @@ -0,0 +1,248 @@ +// Copyright (C) 2025-2026 Marceline Cramer +// SPDX-License-Identifier: AGPL-3.0-or-later +// +// Kerolox is free software: you can redistribute it and/or modify it under +// the terms of the GNU Affero General Public License as published by the Free +// Software Foundation, either version 3 of the License, or (at your option) any +// later version. +// +// Kerolox is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for +// more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with Kerolox. If not, see . + +//! A modular definition for desugared Kerolox IR. + +#![warn(missing_docs)] + +use std::{collections::BTreeMap, fmt, sync::Arc}; + +use ordered_float::OrderedFloat; + +#[cfg(feature = "fuzz")] +use arbitrary::Arbitrary; + +#[cfg(feature = "serde")] +use serde::{Deserialize, Serialize}; + +// TODO: write more top-level docs +// TODO: reintroduce validation logic + +#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[cfg_attr(feature = "fuzz", derive(Arbitrary))] +#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))] +pub struct Program { + pub relations: BTreeMap>, + pub assumptions: Vec>, +} + +#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[cfg_attr(feature = "fuzz", derive(Arbitrary))] +#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))] +pub struct Relation { + /// The relation's type. + // TODO: define structured types or remove + // pub ty: StructuredType, + + /// The custom relation data that this relation stores to. + pub store: R, + + /// The kind of relation this is. + // TODO: figure out the best way to describe abductive relations + // pub kind: RelationKind, + + /// The IO of this relation. + pub io: RelationIO, + + /// A list of facts initially stored by this relation. + pub facts: Vec>, + + /// Each rule that stores to this relation. + pub rules: Vec>, +} + +#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[cfg_attr(feature = "fuzz", derive(Arbitrary))] +#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))] +pub enum RelationIO { + /// This relation does not interact with IO at all. + None, + + /// This relation is an input relation. + Input, + + /// This relation is an output relation. + Output, +} + +#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[cfg_attr(feature = "fuzz", derive(Arbitrary))] +#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))] +pub struct Rule { + /// The storage pattern for the head. + pub head: Vec, + + /// The rule's body. + pub body: RuleBody, +} + +#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[cfg_attr(feature = "fuzz", derive(Arbitrary))] +#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))] +pub struct Assumption { + /// What weight this assumption has. + pub weight: AssumptionWeight, + + /// The assumption's body. + pub body: RuleBody, +} + +#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[cfg_attr(feature = "fuzz", derive(Arbitrary))] +#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))] +pub enum AssumptionWeight { + Hard, + Soft(u32), +} + +#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[cfg_attr(feature = "fuzz", derive(Arbitrary))] +#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))] +pub struct RuleBody { + /// The type of each variable. + /// + /// Also defines the upper bound on valid variable indices. + pub vars: Vec, + + /// Maps relation indices to loaded relations. + pub loaded: Vec, + + /// The inner logic for this rule. + pub logic: T, +} + +#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[cfg_attr(feature = "fuzz", derive(Arbitrary))] +#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))] +pub enum Expr { + Variable(u32), + Value(Value), + Load { + relation: u32, + query: Vec, + }, + UnaryOp { + op: UnaryOpKind, + term: Arc, + }, + BinaryOp { + op: BinaryOpKind, + lhs: Arc, + rhs: Arc, + }, +} + +/// Redundant operations (Sub, Neq, Gt, Ge) are not included. +// TODO: more docs +#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[cfg_attr(feature = "fuzz", derive(Arbitrary))] +#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))] +pub enum BinaryOpKind { + Add, + Mul, + Div, + Concat, + And, + Or, + Eq, + Lt, + Le, +} + +impl BinaryOpKind { + pub fn category(&self) -> BinaryOpCategory { + use BinaryOpCategory::*; + use BinaryOpKind::*; + match self { + Add | Mul | Div => Arithmetic, + Concat => String, + And | Or => Logical, + Eq | Lt | Le => Comparison, + } + } +} + +pub enum BinaryOpCategory { + Arithmetic, + String, + Logical, + Comparison, +} + +#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[cfg_attr(feature = "fuzz", derive(Arbitrary))] +#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))] +pub enum UnaryOpKind { + Not, // TODO: settle the difference between well-founded negation and NAF + Negate, +} + +#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[cfg_attr(feature = "fuzz", derive(Arbitrary))] +#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))] +pub enum QueryTerm { + Variable(u32), + Value(Value), +} + +#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[cfg_attr(feature = "fuzz", derive(Arbitrary))] +#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))] +pub enum Value { + Boolean(bool), + Integer(i64), + Real(OrderedFloat), + Symbol(String), // TODO: global symbol index + String(String), +} + +impl fmt::Display for Value { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + use Value::*; + match self { + Boolean(true) => write!(f, "True"), + Boolean(false) => write!(f, "False"), + Integer(val) => write!(f, "{val}"), + Real(val) => write!(f, "{val}"), + Symbol(name) => write!(f, "{name}"), + String(val) => write!(f, "\"{val:?}\""), + } + } +} + +impl Value { + pub fn ty(&self) -> Type { + use Value::*; + match self { + Boolean(_) => Type::Boolean, + Integer(_) => Type::Integer, + Real(_) => Type::Real, + Symbol(_) => Type::Symbol, + String(_) => Type::String, + } + } +} + +#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[cfg_attr(feature = "fuzz", derive(Arbitrary))] +#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))] +pub enum Type { + Boolean, + Integer, + Real, + Symbol, + String, +} diff --git a/crates/lsp/Cargo.toml b/crates/lsp/Cargo.toml new file mode 100644 index 0000000..9a0a586 --- /dev/null +++ b/crates/lsp/Cargo.toml @@ -0,0 +1,43 @@ +[package] +name = "kerolox-lsp" +version.workspace = true +edition.workspace = true +license.workspace = true +authors.workspace = true +repository.workspace = true +rust-version.workspace = true + +[lib] +crate-type = ["cdylib", "rlib"] + +[dependencies] +kerolox-frontend.workspace = true +lsp-types.workspace = true +tower-lsp.workspace = true + +# wasm-only +futures-util = { workspace = true, optional = true } +wasm-bindgen = { workspace = true, optional = true } +wasm-bindgen-futures = { workspace = true, optional = true } +wasm-streams = { workspace = true, optional = true } + +# TODO: replace +sluice = { version = "0.6", optional = true } + +# TODO: replace +[dependencies.tokio-util] +version = "0.7.0" +optional = true +default-features = false +features = ["compat"] + +# TODO: test feature power set +[features] +wasm = [ + "dep:futures-util", + "dep:wasm-bindgen", + "dep:wasm-bindgen-futures", + "dep:wasm-streams", + "dep:sluice", + "dep:tokio-util", +] diff --git a/crates/lsp/src/lib.rs b/crates/lsp/src/lib.rs new file mode 100644 index 0000000..441f0ec --- /dev/null +++ b/crates/lsp/src/lib.rs @@ -0,0 +1,49 @@ +// Copyright (C) 2025-2026 Marceline Cramer +// SPDX-License-Identifier: AGPL-3.0-or-later +// +// Kerolox is free software: you can redistribute it and/or modify it under +// the terms of the GNU Affero General Public License as published by the Free +// Software Foundation, either version 3 of the License, or (at your option) any +// later version. +// +// Kerolox is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for +// more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with Kerolox. If not, see . + +//! A framework for building language servers for Kerolox-based systems. + +// TODO: migrate existing LSP server definition here +// TODO: add LSP entrypoint binary +// TODO: crate-wide missing docs warning + +use lsp_types::*; +use tower_lsp::{jsonrpc::Result, Client, LanguageServer, Server}; + +#[cfg(feature = "wasm")] +pub mod wasm; + +pub struct LspBackend {} + +impl LspBackend { + pub fn new(_client: Client) -> Self { + Self {} + } +} + +#[tower_lsp::async_trait] +impl LanguageServer for LspBackend { + async fn initialize(&self, _: InitializeParams) -> Result { + Ok(InitializeResult { + capabilities: ServerCapabilities::default(), + server_info: Default::default(), + }) + } + + async fn shutdown(&self) -> Result<()> { + Ok(()) + } +} diff --git a/crates/lsp/src/wasm.rs b/crates/lsp/src/wasm.rs new file mode 100644 index 0000000..c667a6e --- /dev/null +++ b/crates/lsp/src/wasm.rs @@ -0,0 +1,81 @@ +// Copyright (C) 2025-2026 Marceline Cramer +// SPDX-License-Identifier: AGPL-3.0-or-later +// +// Kerolox is free software: you can redistribute it and/or modify it under +// the terms of the GNU Affero General Public License as published by the Free +// Software Foundation, either version 3 of the License, or (at your option) any +// later version. +// +// Kerolox is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for +// more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with Kerolox. If not, see . + +use futures_util::{AsyncWriteExt, SinkExt}; +use sluice::pipe::*; +use tokio_util::compat::*; +use tower_lsp::LspService; +use wasm_bindgen::prelude::*; +use wasm_bindgen_futures::js_sys::Uint8Array; +use wasm_streams::{ReadableStream, WritableStream}; + +use crate::*; + +/** The Kerolox language server, interacted with via JS streams. */ +#[wasm_bindgen] +pub struct LanguageServer { + /// A stream to send requests to the language server. + #[wasm_bindgen(getter_with_clone)] + pub requests: wasm_streams::writable::sys::WritableStream, + + /// A stream for receiving responses from the language server. + #[wasm_bindgen(getter_with_clone)] + pub responses: wasm_streams::readable::sys::ReadableStream, +} + +#[wasm_bindgen] +impl LanguageServer { + /// Creates a Kerolox language server. + #[wasm_bindgen(constructor)] + #[allow(clippy::new_without_default)] + pub fn new() -> Self { + // create pipes to do internal async IO + let (request_rx, request_tx) = pipe(); + let (response_rx, response_tx) = pipe(); + + // create service + let (service, socket) = LspService::new(LspBackend::new); + + // initialize language server + let server = + Server::new(request_rx.compat(), response_tx.compat_write(), socket).serve(service); + + // spawn thread to run language server + wasm_bindgen_futures::spawn_local(server); + + // adapt reader into a sink of byte arrays + let requests_sink = request_tx + .into_sink() + .sink_map_err(|err| JsError::new(&format!("IO error: {err:?}"))) + .with(|js: JsValue| async { + if js.is_instance_of::() { + Ok(Uint8Array::from(js).to_vec()) + } else { + Err(JsError::new("expected a Uint8Array").into()) + } + }); + + // convert channels into JS streams + let requests = WritableStream::from_sink(requests_sink); + let responses = ReadableStream::from_async_read(response_rx, 512); + + // return complete language server interface + Self { + requests: requests.into_raw(), + responses: responses.into_raw(), + } + } +} diff --git a/examples/NQueens.rp1 b/examples/NQueens.rp1 new file mode 100644 index 0000000..e8ce847 --- /dev/null +++ b/examples/NQueens.rp1 @@ -0,0 +1,20 @@ +; Each possible coordinate on the board. +define output Coord Integer +Coord 1. +Coord a :- Coord b, b < 8, a = b + 1. + +; Each possible placement of a queen. +define output decision Queen(Coord, Coord) +Queen(row, col) :- Coord row, Coord col. + +; Exactly one queen goes on each row. +:- For(row), @count Queen(row, _) = 1. + +; Exactly one queen goes on each column. +:- For(col), @count Queen(_, col) = 1. + +; At most one queen can go along each main diagonal. +:- For(diag), @count { Queen (row, col), diag = row + col } <= 1. + +; At most one queen can go along each orthogonal diagonal. +:- For(diag), @count { Queen (row, col), diag = row - col } <= 1. diff --git a/tree-sitter-kerolox/.editorconfig b/tree-sitter-kerolox/.editorconfig new file mode 100644 index 0000000..ff17b12 --- /dev/null +++ b/tree-sitter-kerolox/.editorconfig @@ -0,0 +1,50 @@ +root = true + +[*] +charset = utf-8 + +[*.{json,toml,yml,gyp,xml}] +indent_style = space +indent_size = 2 + +[*.{js,ts}] +indent_style = space +indent_size = 2 + +[*.scm] +indent_style = space +indent_size = 2 + +[*.{c,cc,h}] +indent_style = space +indent_size = 4 + +[*.rs] +indent_style = space +indent_size = 4 + +[*.{py,pyi}] +indent_style = space +indent_size = 4 + +[*.swift] +indent_style = space +indent_size = 4 + +[*.java] +indent_style = space +indent_size = 4 + +[*.go] +indent_style = tab +indent_size = 8 + +[Makefile] +indent_style = tab +indent_size = 8 + +[parser.c] +indent_size = 2 + +[{alloc,array,parser}.h] +indent_size = 2 diff --git a/tree-sitter-kerolox/.gitattributes b/tree-sitter-kerolox/.gitattributes new file mode 100644 index 0000000..027ac70 --- /dev/null +++ b/tree-sitter-kerolox/.gitattributes @@ -0,0 +1,46 @@ +* text=auto eol=lf + +# Generated source files +src/*.json linguist-generated +src/parser.c linguist-generated +src/tree_sitter/* linguist-generated + +# C bindings +bindings/c/** linguist-generated +CMakeLists.txt linguist-generated +Makefile linguist-generated + +# Rust bindings +bindings/rust/* linguist-generated +Cargo.toml linguist-generated +Cargo.lock linguist-generated + +# Node.js bindings +bindings/node/* linguist-generated +binding.gyp linguist-generated +package.json linguist-generated +package-lock.json linguist-generated + +# Python bindings +bindings/python/** linguist-generated +setup.py linguist-generated +pyproject.toml linguist-generated + +# Go bindings +bindings/go/* linguist-generated +go.mod linguist-generated +go.sum linguist-generated + +# Swift bindings +bindings/swift/** linguist-generated +Package.swift linguist-generated +Package.resolved linguist-generated + +# Zig bindings +bindings/zig/* linguist-generated +build.zig linguist-generated +build.zig.zon linguist-generated + +# Java bindings +pom.xml linguist-generated +bindings/java/** linguist-generated diff --git a/tree-sitter-kerolox/.gitignore b/tree-sitter-kerolox/.gitignore new file mode 100644 index 0000000..7c0cb7f --- /dev/null +++ b/tree-sitter-kerolox/.gitignore @@ -0,0 +1,48 @@ +# Rust artifacts +target/ + +# Node artifacts +build/ +prebuilds/ +node_modules/ + +# Swift artifacts +.build/ + +# Go artifacts +_obj/ + +# Python artifacts +.venv/ +dist/ +*.egg-info +*.whl + +# C artifacts +*.a +*.so +*.so.* +*.dylib +*.dll +*.pc +*.exp +*.lib + +# Zig artifacts +.zig-cache/ +zig-cache/ +zig-out/ + +# Example dirs +/examples/*/ + +# Grammar volatiles +*.wasm +*.obj +*.o + +# Archives +*.tar.gz +*.tgz +*.zip +*.jar diff --git a/tree-sitter-kerolox/Cargo.toml b/tree-sitter-kerolox/Cargo.toml new file mode 100644 index 0000000..3b71032 --- /dev/null +++ b/tree-sitter-kerolox/Cargo.toml @@ -0,0 +1,35 @@ +[package] +name = "tree-sitter-kerolox" +description = "Kerolox grammar for tree-sitter" +version.workspace = true +authors.workspace = true +license.workspace = true +rust-version.workspace = true +readme = "README.md" +keywords = ["incremental", "parsing", "tree-sitter", "kerolox"] +categories = ["parser-implementations", "parsing", "text-editors"] +repository = "https://github.com/tree-sitter/tree-sitter-kerolox" +edition = "2021" +autoexamples = false + +build = "bindings/rust/build.rs" +include = [ + "bindings/rust/*", + "grammar.js", + "queries/*", + "src/*", + "tree-sitter.json", + "/LICENSE", +] + +[lib] +path = "bindings/rust/lib.rs" + +[dependencies] +tree-sitter-language = "0.1" + +[build-dependencies] +cc = "1.2" + +[dev-dependencies] +tree-sitter = "0.26.3" diff --git a/tree-sitter-kerolox/bindings/rust/build.rs b/tree-sitter-kerolox/bindings/rust/build.rs new file mode 100644 index 0000000..37e289d --- /dev/null +++ b/tree-sitter-kerolox/bindings/rust/build.rs @@ -0,0 +1,63 @@ +fn main() { + let src_dir = std::path::Path::new("src"); + + let mut c_config = cc::Build::new(); + c_config.std("c11").include(src_dir); + + #[cfg(target_env = "msvc")] + c_config.flag("-utf-8"); + + if std::env::var("TARGET").unwrap() == "wasm32-unknown-unknown" { + let Ok(wasm_headers) = std::env::var("DEP_TREE_SITTER_LANGUAGE_WASM_HEADERS") else { + panic!("Environment variable DEP_TREE_SITTER_LANGUAGE_WASM_HEADERS must be set by the language crate"); + }; + let Ok(wasm_src) = + std::env::var("DEP_TREE_SITTER_LANGUAGE_WASM_SRC").map(std::path::PathBuf::from) + else { + panic!("Environment variable DEP_TREE_SITTER_LANGUAGE_WASM_SRC must be set by the language crate"); + }; + + // ignore the warnings in the tree-sitter stdlib replacements + c_config.flags(["-Wno-unused-parameter", "-Wno-incompatible-pointer-types"]); + + c_config.include(&wasm_headers); + c_config.files([ + wasm_src.join("stdio.c"), + wasm_src.join("stdlib.c"), + wasm_src.join("string.c"), + ]); + } + + let parser_path = src_dir.join("parser.c"); + c_config.file(&parser_path); + println!("cargo:rerun-if-changed={}", parser_path.to_str().unwrap()); + + let scanner_path = src_dir.join("scanner.c"); + if scanner_path.exists() { + c_config.file(&scanner_path); + println!("cargo:rerun-if-changed={}", scanner_path.to_str().unwrap()); + } + + c_config.compile("tree-sitter-kerolox"); + + println!("cargo:rustc-check-cfg=cfg(with_highlights_query)"); + if !"queries/highlights.scm".is_empty() + && std::path::Path::new("queries/highlights.scm").exists() + { + println!("cargo:rustc-cfg=with_highlights_query"); + } + println!("cargo:rustc-check-cfg=cfg(with_injections_query)"); + if !"queries/injections.scm".is_empty() + && std::path::Path::new("queries/injections.scm").exists() + { + println!("cargo:rustc-cfg=with_injections_query"); + } + println!("cargo:rustc-check-cfg=cfg(with_locals_query)"); + if !"queries/locals.scm".is_empty() && std::path::Path::new("queries/locals.scm").exists() { + println!("cargo:rustc-cfg=with_locals_query"); + } + println!("cargo:rustc-check-cfg=cfg(with_tags_query)"); + if !"queries/tags.scm".is_empty() && std::path::Path::new("queries/tags.scm").exists() { + println!("cargo:rustc-cfg=with_tags_query"); + } +} diff --git a/tree-sitter-kerolox/bindings/rust/lib.rs b/tree-sitter-kerolox/bindings/rust/lib.rs new file mode 100644 index 0000000..28276d9 --- /dev/null +++ b/tree-sitter-kerolox/bindings/rust/lib.rs @@ -0,0 +1,60 @@ +//! This crate provides Kerolox language support for the [tree-sitter] parsing library. +//! +//! Typically, you will use the [`LANGUAGE`] constant to add this language to a +//! tree-sitter [`Parser`], and then use the parser to parse some code: +//! +//! ``` +//! let code = r#" +//! "#; +//! let mut parser = tree_sitter::Parser::new(); +//! let language = tree_sitter_kerolox::LANGUAGE; +//! parser +//! .set_language(&language.into()) +//! .expect("Error loading Kerolox parser"); +//! let tree = parser.parse(code, None).unwrap(); +//! assert!(!tree.root_node().has_error()); +//! ``` +//! +//! [`Parser`]: https://docs.rs/tree-sitter/0.26.3/tree_sitter/struct.Parser.html +//! [tree-sitter]: https://tree-sitter.github.io/ + +use tree_sitter_language::LanguageFn; + +extern "C" { + fn tree_sitter_kerolox() -> *const (); +} + +/// The tree-sitter [`LanguageFn`] for this grammar. +pub const LANGUAGE: LanguageFn = unsafe { LanguageFn::from_raw(tree_sitter_kerolox) }; + +/// The content of the [`node-types.json`] file for this grammar. +/// +/// [`node-types.json`]: https://tree-sitter.github.io/tree-sitter/using-parsers/6-static-node-types +pub const NODE_TYPES: &str = include_str!("../../src/node-types.json"); + +#[cfg(with_highlights_query)] +/// The syntax highlighting query for this grammar. +pub const HIGHLIGHTS_QUERY: &str = include_str!("../../queries/highlights.scm"); + +#[cfg(with_injections_query)] +/// The language injection query for this grammar. +pub const INJECTIONS_QUERY: &str = include_str!("../../queries/injections.scm"); + +#[cfg(with_locals_query)] +/// The local variable query for this grammar. +pub const LOCALS_QUERY: &str = include_str!("../../queries/locals.scm"); + +#[cfg(with_tags_query)] +/// The symbol tagging query for this grammar. +pub const TAGS_QUERY: &str = include_str!("../../queries/tags.scm"); + +#[cfg(test)] +mod tests { + #[test] + fn test_can_load_grammar() { + let mut parser = tree_sitter::Parser::new(); + parser + .set_language(&super::LANGUAGE.into()) + .expect("Error loading Kerolox parser"); + } +} diff --git a/tree-sitter-kerolox/grammar.js b/tree-sitter-kerolox/grammar.js new file mode 100644 index 0000000..52e4936 --- /dev/null +++ b/tree-sitter-kerolox/grammar.js @@ -0,0 +1,157 @@ +/** + * @file Kerolox grammar for tree-sitter + * @license AGPL-3.0-or-later + * + * Copyright (C) 2025-2026 Marceline Cramer + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Kerolox is free software: you can redistribute it and/or modify it under + * the terms of the GNU Affero General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * Kerolox is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for + * more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Kerolox. If not, see . + */ + +/// +// @ts-check + +const list = el => seq(el, repeat(seq(",", el))) +const listComma = el => seq(el, choice(",", repeat1(seq(",", el)))) +const parenList = (el) => seq("(", list(el), ")"); +const parenListComma = (el) => seq("(", listComma(el), ")"); + +/// Shorthand to write a binary expression with left precedence of the given priority. +const expr_prec = (expr, precedence, op) => prec.left(precedence, + seq(field("lhs", expr), field("op", op), field("rhs", expr))) + +export default grammar({ + name: "kerolox", + + extras: $ => [$._whitespace, $.comment], + + rules: { + file: $ => repeat(choice( + // explicitly parse newlines and comments separately + // this helps determine which comments are doc comments + $.newline, $.comment, + // the actual items + $.type_alias, $.import, $.definition, $.rule, $.assumption + )), + + comment: $ => seq(";", $.commentInner), + commentInner: _ => /[^\n]*\n/, + newline: _ => /[\n\r]/, + _whitespace: _ => /[ \n\r\t]/, + docs: _ => /(?:;.*\n)*/, + + variable: _ => /[a-z][a-zA-Z0-9_]*/, + symbol: _ => /[A-Z][a-zA-Z0-9]*/, + _ident: $ => choice($.variable, $.symbol), + + integer: _ => choice("0", /-?[1-9][0-9]*/), + + type_alias: $ => seq( + "type", + field("name", $.symbol), + "=", + field("type", $.type), + ), + + type: $ => choice( + field("named", $.symbol), + parenListComma(field("tuple", $.type)), + ), + + import: $ => seq( + "import", + field("path", $.symbol), + repeat(seq(".", field("path", $.symbol))), + ".", + choice( + field("item", $.symbol), + parenList(field("item", $.symbol)) + ), + ), + + definition: $ => seq( + "define", + field("input", optional("input")), + field("output", optional("output")), + field("decision", optional("decision")), + field("relation", $.symbol), + field("type", $.type), + ), + + rule: $ => seq( + optional(field("negate", "-")), + field("relation", $.symbol), + field("head", $.expr), + optional(seq(":-", field("body", $.rule_body))), + "." + ), + + assumption: $ => seq( + optional(seq("soft", "(", field("soft", $.integer), ")")), + ":-", + field("body", $.rule_body), + "." + ), + + rule_body: $ => list(field("clause", $.expr)), + + expr: $ => choice( + field("hole", "_"), + field("atom", $.atom), + field("tuple", $.tuple), + field("value", $.value), + field("variable", $.variable), + field("aggregate", $.aggregate), + field("unary", $.unary_expr), + field("binary", $.binary_expr), + seq('(', field("parens", $.expr), ')'), + ), + + atom: $ => prec.right(2, seq(field("head", $.symbol), field("body", $.expr))), + + tuple: $ => parenListComma(field("el", $.expr)), + + value: $ => choice( + field("true", "True"), + field("false", "False"), + field("symbol", $.symbol), + field("integer", $.integer), + ), + + aggregate: $ => seq( + field("op", $.aggregate_op), + choice( + field("atom", $.atom), + seq("{", field("body", $.rule_body ), "}"), + ), + ), + + aggregate_op: $ => /@[a-z]+/, + + unary_expr: $ => prec.left(5, seq( + field("op", $.unary_op), + field("term", $.expr) + )), + + unary_op: _ => choice("!", "-"), + + binary_expr: $ => choice( + expr_prec($.expr, 4, choice("*", "/")), + expr_prec($.expr, 3, choice("+", "-")), + expr_prec($.expr, 2, ".."), + expr_prec($.expr, 1, choice("=", "!=", ">=", "<=", "<", ">")), + expr_prec($.expr, 0, choice("&&", "||")), + ), + } +}); diff --git a/tree-sitter-kerolox/jsconfig.json b/tree-sitter-kerolox/jsconfig.json new file mode 100644 index 0000000..e060f1f --- /dev/null +++ b/tree-sitter-kerolox/jsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "noImplicitAny": false + } +} \ No newline at end of file diff --git a/tree-sitter-kerolox/package-lock.json b/tree-sitter-kerolox/package-lock.json new file mode 100644 index 0000000..dfe9cca --- /dev/null +++ b/tree-sitter-kerolox/package-lock.json @@ -0,0 +1,382 @@ +{ + "name": "tree-sitter-kerolox", + "version": "0.1.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "tree-sitter-kerolox", + "version": "0.1.0", + "hasInstallScript": true, + "license": "AGPL-3.0-or-later", + "dependencies": { + "node-addon-api": "^8.5.0", + "node-gyp-build": "^4.8.4" + }, + "devDependencies": { + "prebuildify": "^6.0.1", + "tree-sitter": "^0.25.0", + "tree-sitter-cli": "^0.26.3" + }, + "peerDependencies": { + "tree-sitter": "^0.25.0" + }, + "peerDependenciesMeta": { + "tree-sitter": { + "optional": true + } + } + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "dev": true, + "license": "ISC" + }, + "node_modules/end-of-stream": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz", + "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "dev": true, + "license": "MIT" + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/mkdirp-classic": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", + "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-abi": { + "version": "3.89.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.89.0.tgz", + "integrity": "sha512-6u9UwL0HlAl21+agMN3YAMXcKByMqwGx+pq+P76vii5f7hTPtKDp08/H9py6DY+cfDw7kQNTGEj/rly3IgbNQA==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/node-addon-api": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.7.0.tgz", + "integrity": "sha512-9MdFxmkKaOYVTV+XVRG8ArDwwQ77XIgIPyKASB1k3JPq3M8fGQQQE3YpMOrKm6g//Ktx8ivZr8xo1Qmtqub+GA==", + "license": "MIT", + "engines": { + "node": "^18 || ^20 || >= 21" + } + }, + "node_modules/node-gyp-build": { + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz", + "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==", + "license": "MIT", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "node_modules/npm-run-path": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-3.1.0.tgz", + "integrity": "sha512-Dbl4A/VfiVGLgQv29URL9xshU8XDY1GeLy+fsaZ1AA8JDSfjvr5P5+pzRbWqRSBxk6/DW7MIh8lTM/PaGnP2kg==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/prebuildify": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/prebuildify/-/prebuildify-6.0.1.tgz", + "integrity": "sha512-8Y2oOOateom/s8dNBsGIcnm6AxPmLH4/nanQzL5lQMU+sC0CMhzARZHizwr36pUPLdvBnOkCNQzxg4djuFSgIw==", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.5", + "mkdirp-classic": "^0.5.3", + "node-abi": "^3.3.0", + "npm-run-path": "^3.1.0", + "pump": "^3.0.0", + "tar-fs": "^2.1.0" + }, + "bin": { + "prebuildify": "bin.js" + } + }, + "node_modules/pump": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz", + "integrity": "sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/semver": { + "version": "7.7.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz", + "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/tar-fs": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.4.tgz", + "integrity": "sha512-mDAjwmZdh7LTT6pNleZ05Yt65HC3E+NiQzl672vQG38jIrehtJk/J3mNwIg+vShQPcLF/LV7CMnDW6vjj6sfYQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.1.4" + } + }, + "node_modules/tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tree-sitter": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/tree-sitter/-/tree-sitter-0.25.0.tgz", + "integrity": "sha512-PGZZzFW63eElZJDe/b/R/LbsjDDYJa5UEjLZJB59RQsMX+fo0j54fqBPn1MGKav/QNa0JR0zBiVaikYDWCj5KQ==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^8.3.0", + "node-gyp-build": "^4.8.4" + } + }, + "node_modules/tree-sitter-cli": { + "version": "0.26.8", + "resolved": "https://registry.npmjs.org/tree-sitter-cli/-/tree-sitter-cli-0.26.8.tgz", + "integrity": "sha512-teQFMF5V/g8aIdakZ0M/eZoedCM3MuBt1JuDOICLloA2hy7QfeOInb99U6wiML4qXcBHWREwf0U1TWzw7p67YA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "tree-sitter": "cli.js" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true, + "license": "ISC" + } + } +} diff --git a/tree-sitter-kerolox/package.json b/tree-sitter-kerolox/package.json new file mode 100644 index 0000000..42b9c29 --- /dev/null +++ b/tree-sitter-kerolox/package.json @@ -0,0 +1,52 @@ +{ + "name": "tree-sitter-kerolox", + "version": "0.1.0", + "description": "Kerolox grammar for tree-sitter", + "type": "module", + "repository": { + "type": "git", + "url": "git+https://github.com/tree-sitter/tree-sitter-kerolox.git" + }, + "license": "AGPL-3.0-or-later", + "main": "bindings/node", + "types": "bindings/node", + "keywords": [ + "incremental", + "parsing", + "tree-sitter", + "kerolox" + ], + "files": [ + "grammar.js", + "tree-sitter.json", + "binding.gyp", + "prebuilds/**", + "bindings/node/*", + "queries/*", + "src/**", + "*.wasm" + ], + "dependencies": { + "node-addon-api": "^8.5.0", + "node-gyp-build": "^4.8.4" + }, + "devDependencies": { + "prebuildify": "^6.0.1", + "tree-sitter": "^0.25.0", + "tree-sitter-cli": "^0.26.3" + }, + "peerDependencies": { + "tree-sitter": "^0.25.0" + }, + "peerDependenciesMeta": { + "tree-sitter": { + "optional": true + } + }, + "scripts": { + "install": "node-gyp-build", + "prestart": "tree-sitter build --wasm", + "start": "tree-sitter playground", + "test": "node --test bindings/node/*_test.js" + } +} diff --git a/tree-sitter-kerolox/queries/highlights.scm b/tree-sitter-kerolox/queries/highlights.scm new file mode 100644 index 0000000..3ffe518 --- /dev/null +++ b/tree-sitter-kerolox/queries/highlights.scm @@ -0,0 +1,35 @@ +; TODO: automate highlighting testing + +(comment) @comment.line +(integer) @constant.numeric +(variable) @variable +(value (symbol) @constant) +(import (symbol) @module) +(type (symbol)) @type +(type_alias name: _ @type) + +(rule relation: (symbol) @constructor) +(definition relation: (symbol) @function) +(atom head: (symbol) @function) + +[ ":-" "," "." ] @punctuation.delimiter +[ "(" ")" "{" "}" ] @punctuation.bracket + +(aggregate_op) @keyword +(binary_expr op: _ @operator) +(unary_expr op: _ @operator) + +[ + "type" + "decision" + "define" + "import" + "input" + "output" + "soft" +] @keyword + +; doc comments +((comment)+ @comment.docs . (definition)) +((comment)+ @comment.docs . (rule)) +((comment)+ @comment.docs . (assumption)) diff --git a/tree-sitter-kerolox/queries/injections.scm b/tree-sitter-kerolox/queries/injections.scm new file mode 100644 index 0000000..93d8a7a --- /dev/null +++ b/tree-sitter-kerolox/queries/injections.scm @@ -0,0 +1,5 @@ +; markdown highlighting within contiguous comments +((commentInner) + @injection.content + (#set! injection.language "markdown") + (#set! injection.combined)) diff --git a/tree-sitter-kerolox/src/grammar.json b/tree-sitter-kerolox/src/grammar.json new file mode 100644 index 0000000..d6521b9 --- /dev/null +++ b/tree-sitter-kerolox/src/grammar.json @@ -0,0 +1,1062 @@ +{ + "$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/grammar.schema.json", + "name": "kerolox", + "rules": { + "file": { + "type": "REPEAT", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "newline" + }, + { + "type": "SYMBOL", + "name": "comment" + }, + { + "type": "SYMBOL", + "name": "type_alias" + }, + { + "type": "SYMBOL", + "name": "import" + }, + { + "type": "SYMBOL", + "name": "definition" + }, + { + "type": "SYMBOL", + "name": "rule" + }, + { + "type": "SYMBOL", + "name": "assumption" + } + ] + } + }, + "comment": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": ";" + }, + { + "type": "SYMBOL", + "name": "commentInner" + } + ] + }, + "commentInner": { + "type": "PATTERN", + "value": "[^\\n]*\\n" + }, + "newline": { + "type": "PATTERN", + "value": "[\\n\\r]" + }, + "_whitespace": { + "type": "PATTERN", + "value": "[ \\n\\r\\t]" + }, + "docs": { + "type": "PATTERN", + "value": "(?:;.*\\n)*" + }, + "variable": { + "type": "PATTERN", + "value": "[a-z][a-zA-Z0-9_]*" + }, + "symbol": { + "type": "PATTERN", + "value": "[A-Z][a-zA-Z0-9]*" + }, + "_ident": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "variable" + }, + { + "type": "SYMBOL", + "name": "symbol" + } + ] + }, + "integer": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "0" + }, + { + "type": "PATTERN", + "value": "-?[1-9][0-9]*" + } + ] + }, + "type_alias": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "type" + }, + { + "type": "FIELD", + "name": "name", + "content": { + "type": "SYMBOL", + "name": "symbol" + } + }, + { + "type": "STRING", + "value": "=" + }, + { + "type": "FIELD", + "name": "type", + "content": { + "type": "SYMBOL", + "name": "type" + } + } + ] + }, + "type": { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "named", + "content": { + "type": "SYMBOL", + "name": "symbol" + } + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "tuple", + "content": { + "type": "SYMBOL", + "name": "type" + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "REPEAT1", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "FIELD", + "name": "tuple", + "content": { + "type": "SYMBOL", + "name": "type" + } + } + ] + } + } + ] + } + ] + }, + { + "type": "STRING", + "value": ")" + } + ] + } + ] + }, + "import": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "import" + }, + { + "type": "FIELD", + "name": "path", + "content": { + "type": "SYMBOL", + "name": "symbol" + } + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "." + }, + { + "type": "FIELD", + "name": "path", + "content": { + "type": "SYMBOL", + "name": "symbol" + } + } + ] + } + }, + { + "type": "STRING", + "value": "." + }, + { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "item", + "content": { + "type": "SYMBOL", + "name": "symbol" + } + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "item", + "content": { + "type": "SYMBOL", + "name": "symbol" + } + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "FIELD", + "name": "item", + "content": { + "type": "SYMBOL", + "name": "symbol" + } + } + ] + } + } + ] + }, + { + "type": "STRING", + "value": ")" + } + ] + } + ] + } + ] + }, + "definition": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "define" + }, + { + "type": "FIELD", + "name": "input", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "input" + }, + { + "type": "BLANK" + } + ] + } + }, + { + "type": "FIELD", + "name": "output", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "output" + }, + { + "type": "BLANK" + } + ] + } + }, + { + "type": "FIELD", + "name": "decision", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "decision" + }, + { + "type": "BLANK" + } + ] + } + }, + { + "type": "FIELD", + "name": "relation", + "content": { + "type": "SYMBOL", + "name": "symbol" + } + }, + { + "type": "FIELD", + "name": "type", + "content": { + "type": "SYMBOL", + "name": "type" + } + } + ] + }, + "rule": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "negate", + "content": { + "type": "STRING", + "value": "-" + } + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "FIELD", + "name": "relation", + "content": { + "type": "SYMBOL", + "name": "symbol" + } + }, + { + "type": "FIELD", + "name": "head", + "content": { + "type": "SYMBOL", + "name": "expr" + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": ":-" + }, + { + "type": "FIELD", + "name": "body", + "content": { + "type": "SYMBOL", + "name": "rule_body" + } + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": "." + } + ] + }, + "assumption": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "soft" + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "FIELD", + "name": "soft", + "content": { + "type": "SYMBOL", + "name": "integer" + } + }, + { + "type": "STRING", + "value": ")" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": ":-" + }, + { + "type": "FIELD", + "name": "body", + "content": { + "type": "SYMBOL", + "name": "rule_body" + } + }, + { + "type": "STRING", + "value": "." + } + ] + }, + "rule_body": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "clause", + "content": { + "type": "SYMBOL", + "name": "expr" + } + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "FIELD", + "name": "clause", + "content": { + "type": "SYMBOL", + "name": "expr" + } + } + ] + } + } + ] + }, + "expr": { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "hole", + "content": { + "type": "STRING", + "value": "_" + } + }, + { + "type": "FIELD", + "name": "atom", + "content": { + "type": "SYMBOL", + "name": "atom" + } + }, + { + "type": "FIELD", + "name": "tuple", + "content": { + "type": "SYMBOL", + "name": "tuple" + } + }, + { + "type": "FIELD", + "name": "value", + "content": { + "type": "SYMBOL", + "name": "value" + } + }, + { + "type": "FIELD", + "name": "variable", + "content": { + "type": "SYMBOL", + "name": "variable" + } + }, + { + "type": "FIELD", + "name": "aggregate", + "content": { + "type": "SYMBOL", + "name": "aggregate" + } + }, + { + "type": "FIELD", + "name": "unary", + "content": { + "type": "SYMBOL", + "name": "unary_expr" + } + }, + { + "type": "FIELD", + "name": "binary", + "content": { + "type": "SYMBOL", + "name": "binary_expr" + } + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "FIELD", + "name": "parens", + "content": { + "type": "SYMBOL", + "name": "expr" + } + }, + { + "type": "STRING", + "value": ")" + } + ] + } + ] + }, + "atom": { + "type": "PREC_RIGHT", + "value": 2, + "content": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "head", + "content": { + "type": "SYMBOL", + "name": "symbol" + } + }, + { + "type": "FIELD", + "name": "body", + "content": { + "type": "SYMBOL", + "name": "expr" + } + } + ] + } + }, + "tuple": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "el", + "content": { + "type": "SYMBOL", + "name": "expr" + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "REPEAT1", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "FIELD", + "name": "el", + "content": { + "type": "SYMBOL", + "name": "expr" + } + } + ] + } + } + ] + } + ] + }, + { + "type": "STRING", + "value": ")" + } + ] + }, + "value": { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "true", + "content": { + "type": "STRING", + "value": "True" + } + }, + { + "type": "FIELD", + "name": "false", + "content": { + "type": "STRING", + "value": "False" + } + }, + { + "type": "FIELD", + "name": "symbol", + "content": { + "type": "SYMBOL", + "name": "symbol" + } + }, + { + "type": "FIELD", + "name": "integer", + "content": { + "type": "SYMBOL", + "name": "integer" + } + } + ] + }, + "aggregate": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "op", + "content": { + "type": "SYMBOL", + "name": "aggregate_op" + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "atom", + "content": { + "type": "SYMBOL", + "name": "atom" + } + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "{" + }, + { + "type": "FIELD", + "name": "body", + "content": { + "type": "SYMBOL", + "name": "rule_body" + } + }, + { + "type": "STRING", + "value": "}" + } + ] + } + ] + } + ] + }, + "aggregate_op": { + "type": "PATTERN", + "value": "@[a-z]+" + }, + "unary_expr": { + "type": "PREC_LEFT", + "value": 5, + "content": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "op", + "content": { + "type": "SYMBOL", + "name": "unary_op" + } + }, + { + "type": "FIELD", + "name": "term", + "content": { + "type": "SYMBOL", + "name": "expr" + } + } + ] + } + }, + "unary_op": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "!" + }, + { + "type": "STRING", + "value": "-" + } + ] + }, + "binary_expr": { + "type": "CHOICE", + "members": [ + { + "type": "PREC_LEFT", + "value": 4, + "content": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "lhs", + "content": { + "type": "SYMBOL", + "name": "expr" + } + }, + { + "type": "FIELD", + "name": "op", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "*" + }, + { + "type": "STRING", + "value": "/" + } + ] + } + }, + { + "type": "FIELD", + "name": "rhs", + "content": { + "type": "SYMBOL", + "name": "expr" + } + } + ] + } + }, + { + "type": "PREC_LEFT", + "value": 3, + "content": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "lhs", + "content": { + "type": "SYMBOL", + "name": "expr" + } + }, + { + "type": "FIELD", + "name": "op", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "+" + }, + { + "type": "STRING", + "value": "-" + } + ] + } + }, + { + "type": "FIELD", + "name": "rhs", + "content": { + "type": "SYMBOL", + "name": "expr" + } + } + ] + } + }, + { + "type": "PREC_LEFT", + "value": 2, + "content": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "lhs", + "content": { + "type": "SYMBOL", + "name": "expr" + } + }, + { + "type": "FIELD", + "name": "op", + "content": { + "type": "STRING", + "value": ".." + } + }, + { + "type": "FIELD", + "name": "rhs", + "content": { + "type": "SYMBOL", + "name": "expr" + } + } + ] + } + }, + { + "type": "PREC_LEFT", + "value": 1, + "content": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "lhs", + "content": { + "type": "SYMBOL", + "name": "expr" + } + }, + { + "type": "FIELD", + "name": "op", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "=" + }, + { + "type": "STRING", + "value": "!=" + }, + { + "type": "STRING", + "value": ">=" + }, + { + "type": "STRING", + "value": "<=" + }, + { + "type": "STRING", + "value": "<" + }, + { + "type": "STRING", + "value": ">" + } + ] + } + }, + { + "type": "FIELD", + "name": "rhs", + "content": { + "type": "SYMBOL", + "name": "expr" + } + } + ] + } + }, + { + "type": "PREC_LEFT", + "value": 0, + "content": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "lhs", + "content": { + "type": "SYMBOL", + "name": "expr" + } + }, + { + "type": "FIELD", + "name": "op", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "&&" + }, + { + "type": "STRING", + "value": "||" + } + ] + } + }, + { + "type": "FIELD", + "name": "rhs", + "content": { + "type": "SYMBOL", + "name": "expr" + } + } + ] + } + } + ] + } + }, + "extras": [ + { + "type": "SYMBOL", + "name": "_whitespace" + }, + { + "type": "SYMBOL", + "name": "comment" + } + ], + "conflicts": [], + "precedences": [], + "externals": [], + "inline": [], + "supertypes": [], + "reserved": {} +} \ No newline at end of file diff --git a/tree-sitter-kerolox/src/node-types.json b/tree-sitter-kerolox/src/node-types.json new file mode 100644 index 0000000..094b0f4 --- /dev/null +++ b/tree-sitter-kerolox/src/node-types.json @@ -0,0 +1,772 @@ +[ + { + "type": "aggregate", + "named": true, + "fields": { + "atom": { + "multiple": false, + "required": false, + "types": [ + { + "type": "atom", + "named": true + } + ] + }, + "body": { + "multiple": false, + "required": false, + "types": [ + { + "type": "rule_body", + "named": true + } + ] + }, + "op": { + "multiple": false, + "required": true, + "types": [ + { + "type": "aggregate_op", + "named": true + } + ] + } + } + }, + { + "type": "assumption", + "named": true, + "fields": { + "body": { + "multiple": false, + "required": true, + "types": [ + { + "type": "rule_body", + "named": true + } + ] + }, + "soft": { + "multiple": false, + "required": false, + "types": [ + { + "type": "integer", + "named": true + } + ] + } + } + }, + { + "type": "atom", + "named": true, + "fields": { + "body": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expr", + "named": true + } + ] + }, + "head": { + "multiple": false, + "required": true, + "types": [ + { + "type": "symbol", + "named": true + } + ] + } + } + }, + { + "type": "binary_expr", + "named": true, + "fields": { + "lhs": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expr", + "named": true + } + ] + }, + "op": { + "multiple": false, + "required": true, + "types": [ + { + "type": "!=", + "named": false + }, + { + "type": "&&", + "named": false + }, + { + "type": "*", + "named": false + }, + { + "type": "+", + "named": false + }, + { + "type": "-", + "named": false + }, + { + "type": "..", + "named": false + }, + { + "type": "/", + "named": false + }, + { + "type": "<", + "named": false + }, + { + "type": "<=", + "named": false + }, + { + "type": "=", + "named": false + }, + { + "type": ">", + "named": false + }, + { + "type": ">=", + "named": false + }, + { + "type": "||", + "named": false + } + ] + }, + "rhs": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expr", + "named": true + } + ] + } + } + }, + { + "type": "comment", + "named": true, + "extra": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "commentInner", + "named": true + } + ] + } + }, + { + "type": "definition", + "named": true, + "fields": { + "decision": { + "multiple": false, + "required": false, + "types": [ + { + "type": "decision", + "named": false + } + ] + }, + "input": { + "multiple": false, + "required": false, + "types": [ + { + "type": "input", + "named": false + } + ] + }, + "output": { + "multiple": false, + "required": false, + "types": [ + { + "type": "output", + "named": false + } + ] + }, + "relation": { + "multiple": false, + "required": true, + "types": [ + { + "type": "symbol", + "named": true + } + ] + }, + "type": { + "multiple": false, + "required": true, + "types": [ + { + "type": "type", + "named": true + } + ] + } + } + }, + { + "type": "expr", + "named": true, + "fields": { + "aggregate": { + "multiple": false, + "required": false, + "types": [ + { + "type": "aggregate", + "named": true + } + ] + }, + "atom": { + "multiple": false, + "required": false, + "types": [ + { + "type": "atom", + "named": true + } + ] + }, + "binary": { + "multiple": false, + "required": false, + "types": [ + { + "type": "binary_expr", + "named": true + } + ] + }, + "hole": { + "multiple": false, + "required": false, + "types": [ + { + "type": "_", + "named": false + } + ] + }, + "parens": { + "multiple": false, + "required": false, + "types": [ + { + "type": "expr", + "named": true + } + ] + }, + "tuple": { + "multiple": false, + "required": false, + "types": [ + { + "type": "tuple", + "named": true + } + ] + }, + "unary": { + "multiple": false, + "required": false, + "types": [ + { + "type": "unary_expr", + "named": true + } + ] + }, + "value": { + "multiple": false, + "required": false, + "types": [ + { + "type": "value", + "named": true + } + ] + }, + "variable": { + "multiple": false, + "required": false, + "types": [ + { + "type": "variable", + "named": true + } + ] + } + } + }, + { + "type": "file", + "named": true, + "root": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "assumption", + "named": true + }, + { + "type": "comment", + "named": true + }, + { + "type": "definition", + "named": true + }, + { + "type": "import", + "named": true + }, + { + "type": "newline", + "named": true + }, + { + "type": "rule", + "named": true + }, + { + "type": "type_alias", + "named": true + } + ] + } + }, + { + "type": "import", + "named": true, + "fields": { + "item": { + "multiple": true, + "required": true, + "types": [ + { + "type": "symbol", + "named": true + } + ] + }, + "path": { + "multiple": true, + "required": true, + "types": [ + { + "type": "symbol", + "named": true + } + ] + } + } + }, + { + "type": "integer", + "named": true, + "fields": {} + }, + { + "type": "rule", + "named": true, + "fields": { + "body": { + "multiple": false, + "required": false, + "types": [ + { + "type": "rule_body", + "named": true + } + ] + }, + "head": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expr", + "named": true + } + ] + }, + "negate": { + "multiple": false, + "required": false, + "types": [ + { + "type": "-", + "named": false + } + ] + }, + "relation": { + "multiple": false, + "required": true, + "types": [ + { + "type": "symbol", + "named": true + } + ] + } + } + }, + { + "type": "rule_body", + "named": true, + "fields": { + "clause": { + "multiple": true, + "required": true, + "types": [ + { + "type": "expr", + "named": true + } + ] + } + } + }, + { + "type": "tuple", + "named": true, + "fields": { + "el": { + "multiple": true, + "required": true, + "types": [ + { + "type": "expr", + "named": true + } + ] + } + } + }, + { + "type": "type", + "named": true, + "fields": { + "named": { + "multiple": false, + "required": false, + "types": [ + { + "type": "symbol", + "named": true + } + ] + }, + "tuple": { + "multiple": true, + "required": false, + "types": [ + { + "type": "type", + "named": true + } + ] + } + } + }, + { + "type": "type_alias", + "named": true, + "fields": { + "name": { + "multiple": false, + "required": true, + "types": [ + { + "type": "symbol", + "named": true + } + ] + }, + "type": { + "multiple": false, + "required": true, + "types": [ + { + "type": "type", + "named": true + } + ] + } + } + }, + { + "type": "unary_expr", + "named": true, + "fields": { + "op": { + "multiple": false, + "required": true, + "types": [ + { + "type": "unary_op", + "named": true + } + ] + }, + "term": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expr", + "named": true + } + ] + } + } + }, + { + "type": "unary_op", + "named": true, + "fields": {} + }, + { + "type": "value", + "named": true, + "fields": { + "false": { + "multiple": false, + "required": false, + "types": [ + { + "type": "False", + "named": false + } + ] + }, + "integer": { + "multiple": false, + "required": false, + "types": [ + { + "type": "integer", + "named": true + } + ] + }, + "symbol": { + "multiple": false, + "required": false, + "types": [ + { + "type": "symbol", + "named": true + } + ] + }, + "true": { + "multiple": false, + "required": false, + "types": [ + { + "type": "True", + "named": false + } + ] + } + } + }, + { + "type": "!", + "named": false + }, + { + "type": "!=", + "named": false + }, + { + "type": "&&", + "named": false + }, + { + "type": "(", + "named": false + }, + { + "type": ")", + "named": false + }, + { + "type": "*", + "named": false + }, + { + "type": "+", + "named": false + }, + { + "type": ",", + "named": false + }, + { + "type": "-", + "named": false + }, + { + "type": ".", + "named": false + }, + { + "type": "..", + "named": false + }, + { + "type": "/", + "named": false + }, + { + "type": "0", + "named": false + }, + { + "type": ":-", + "named": false + }, + { + "type": ";", + "named": false + }, + { + "type": "<", + "named": false + }, + { + "type": "<=", + "named": false + }, + { + "type": "=", + "named": false + }, + { + "type": ">", + "named": false + }, + { + "type": ">=", + "named": false + }, + { + "type": "False", + "named": false + }, + { + "type": "True", + "named": false + }, + { + "type": "_", + "named": false + }, + { + "type": "aggregate_op", + "named": true + }, + { + "type": "commentInner", + "named": true + }, + { + "type": "decision", + "named": false + }, + { + "type": "define", + "named": false + }, + { + "type": "import", + "named": false + }, + { + "type": "input", + "named": false + }, + { + "type": "newline", + "named": true + }, + { + "type": "output", + "named": false + }, + { + "type": "soft", + "named": false + }, + { + "type": "symbol", + "named": true + }, + { + "type": "type", + "named": false + }, + { + "type": "variable", + "named": true + }, + { + "type": "{", + "named": false + }, + { + "type": "||", + "named": false + }, + { + "type": "}", + "named": false + } +] \ No newline at end of file diff --git a/tree-sitter-kerolox/src/parser.c b/tree-sitter-kerolox/src/parser.c new file mode 100644 index 0000000..afac2cf --- /dev/null +++ b/tree-sitter-kerolox/src/parser.c @@ -0,0 +1,5002 @@ +/* Automatically @generated by tree-sitter */ + +#include "tree_sitter/parser.h" + +#if defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic ignored "-Wmissing-field-initializers" +#endif + +#define LANGUAGE_VERSION 14 +#define STATE_COUNT 148 +#define LARGE_STATE_COUNT 3 +#define SYMBOL_COUNT 65 +#define ALIAS_COUNT 0 +#define TOKEN_COUNT 41 +#define EXTERNAL_TOKEN_COUNT 0 +#define FIELD_COUNT 32 +#define MAX_ALIAS_SEQUENCE_LENGTH 8 +#define MAX_RESERVED_WORD_SET_SIZE 0 +#define PRODUCTION_ID_COUNT 55 +#define SUPERTYPE_COUNT 0 + +enum ts_symbol_identifiers { + anon_sym_SEMI = 1, + sym_commentInner = 2, + sym_newline = 3, + sym__whitespace = 4, + sym_variable = 5, + sym_symbol = 6, + anon_sym_0 = 7, + aux_sym_integer_token1 = 8, + anon_sym_type = 9, + anon_sym_EQ = 10, + anon_sym_LPAREN = 11, + anon_sym_COMMA = 12, + anon_sym_RPAREN = 13, + anon_sym_import = 14, + anon_sym_DOT = 15, + anon_sym_define = 16, + anon_sym_input = 17, + anon_sym_output = 18, + anon_sym_decision = 19, + anon_sym_DASH = 20, + anon_sym_COLON_DASH = 21, + anon_sym_soft = 22, + anon_sym__ = 23, + anon_sym_True = 24, + anon_sym_False = 25, + anon_sym_LBRACE = 26, + anon_sym_RBRACE = 27, + sym_aggregate_op = 28, + anon_sym_BANG = 29, + anon_sym_STAR = 30, + anon_sym_SLASH = 31, + anon_sym_PLUS = 32, + anon_sym_DOT_DOT = 33, + anon_sym_BANG_EQ = 34, + anon_sym_GT_EQ = 35, + anon_sym_LT_EQ = 36, + anon_sym_LT = 37, + anon_sym_GT = 38, + anon_sym_AMP_AMP = 39, + anon_sym_PIPE_PIPE = 40, + sym_file = 41, + sym_comment = 42, + sym_integer = 43, + sym_type_alias = 44, + sym_type = 45, + sym_import = 46, + sym_definition = 47, + sym_rule = 48, + sym_assumption = 49, + sym_rule_body = 50, + sym_expr = 51, + sym_atom = 52, + sym_tuple = 53, + sym_value = 54, + sym_aggregate = 55, + sym_unary_expr = 56, + sym_unary_op = 57, + sym_binary_expr = 58, + aux_sym_file_repeat1 = 59, + aux_sym_type_repeat1 = 60, + aux_sym_import_repeat1 = 61, + aux_sym_import_repeat2 = 62, + aux_sym_rule_body_repeat1 = 63, + aux_sym_tuple_repeat1 = 64, +}; + +static const char * const ts_symbol_names[] = { + [ts_builtin_sym_end] = "end", + [anon_sym_SEMI] = ";", + [sym_commentInner] = "commentInner", + [sym_newline] = "newline", + [sym__whitespace] = "_whitespace", + [sym_variable] = "variable", + [sym_symbol] = "symbol", + [anon_sym_0] = "0", + [aux_sym_integer_token1] = "integer_token1", + [anon_sym_type] = "type", + [anon_sym_EQ] = "=", + [anon_sym_LPAREN] = "(", + [anon_sym_COMMA] = ",", + [anon_sym_RPAREN] = ")", + [anon_sym_import] = "import", + [anon_sym_DOT] = ".", + [anon_sym_define] = "define", + [anon_sym_input] = "input", + [anon_sym_output] = "output", + [anon_sym_decision] = "decision", + [anon_sym_DASH] = "-", + [anon_sym_COLON_DASH] = ":-", + [anon_sym_soft] = "soft", + [anon_sym__] = "_", + [anon_sym_True] = "True", + [anon_sym_False] = "False", + [anon_sym_LBRACE] = "{", + [anon_sym_RBRACE] = "}", + [sym_aggregate_op] = "aggregate_op", + [anon_sym_BANG] = "!", + [anon_sym_STAR] = "*", + [anon_sym_SLASH] = "/", + [anon_sym_PLUS] = "+", + [anon_sym_DOT_DOT] = "..", + [anon_sym_BANG_EQ] = "!=", + [anon_sym_GT_EQ] = ">=", + [anon_sym_LT_EQ] = "<=", + [anon_sym_LT] = "<", + [anon_sym_GT] = ">", + [anon_sym_AMP_AMP] = "&&", + [anon_sym_PIPE_PIPE] = "||", + [sym_file] = "file", + [sym_comment] = "comment", + [sym_integer] = "integer", + [sym_type_alias] = "type_alias", + [sym_type] = "type", + [sym_import] = "import", + [sym_definition] = "definition", + [sym_rule] = "rule", + [sym_assumption] = "assumption", + [sym_rule_body] = "rule_body", + [sym_expr] = "expr", + [sym_atom] = "atom", + [sym_tuple] = "tuple", + [sym_value] = "value", + [sym_aggregate] = "aggregate", + [sym_unary_expr] = "unary_expr", + [sym_unary_op] = "unary_op", + [sym_binary_expr] = "binary_expr", + [aux_sym_file_repeat1] = "file_repeat1", + [aux_sym_type_repeat1] = "type_repeat1", + [aux_sym_import_repeat1] = "import_repeat1", + [aux_sym_import_repeat2] = "import_repeat2", + [aux_sym_rule_body_repeat1] = "rule_body_repeat1", + [aux_sym_tuple_repeat1] = "tuple_repeat1", +}; + +static const TSSymbol ts_symbol_map[] = { + [ts_builtin_sym_end] = ts_builtin_sym_end, + [anon_sym_SEMI] = anon_sym_SEMI, + [sym_commentInner] = sym_commentInner, + [sym_newline] = sym_newline, + [sym__whitespace] = sym__whitespace, + [sym_variable] = sym_variable, + [sym_symbol] = sym_symbol, + [anon_sym_0] = anon_sym_0, + [aux_sym_integer_token1] = aux_sym_integer_token1, + [anon_sym_type] = anon_sym_type, + [anon_sym_EQ] = anon_sym_EQ, + [anon_sym_LPAREN] = anon_sym_LPAREN, + [anon_sym_COMMA] = anon_sym_COMMA, + [anon_sym_RPAREN] = anon_sym_RPAREN, + [anon_sym_import] = anon_sym_import, + [anon_sym_DOT] = anon_sym_DOT, + [anon_sym_define] = anon_sym_define, + [anon_sym_input] = anon_sym_input, + [anon_sym_output] = anon_sym_output, + [anon_sym_decision] = anon_sym_decision, + [anon_sym_DASH] = anon_sym_DASH, + [anon_sym_COLON_DASH] = anon_sym_COLON_DASH, + [anon_sym_soft] = anon_sym_soft, + [anon_sym__] = anon_sym__, + [anon_sym_True] = anon_sym_True, + [anon_sym_False] = anon_sym_False, + [anon_sym_LBRACE] = anon_sym_LBRACE, + [anon_sym_RBRACE] = anon_sym_RBRACE, + [sym_aggregate_op] = sym_aggregate_op, + [anon_sym_BANG] = anon_sym_BANG, + [anon_sym_STAR] = anon_sym_STAR, + [anon_sym_SLASH] = anon_sym_SLASH, + [anon_sym_PLUS] = anon_sym_PLUS, + [anon_sym_DOT_DOT] = anon_sym_DOT_DOT, + [anon_sym_BANG_EQ] = anon_sym_BANG_EQ, + [anon_sym_GT_EQ] = anon_sym_GT_EQ, + [anon_sym_LT_EQ] = anon_sym_LT_EQ, + [anon_sym_LT] = anon_sym_LT, + [anon_sym_GT] = anon_sym_GT, + [anon_sym_AMP_AMP] = anon_sym_AMP_AMP, + [anon_sym_PIPE_PIPE] = anon_sym_PIPE_PIPE, + [sym_file] = sym_file, + [sym_comment] = sym_comment, + [sym_integer] = sym_integer, + [sym_type_alias] = sym_type_alias, + [sym_type] = sym_type, + [sym_import] = sym_import, + [sym_definition] = sym_definition, + [sym_rule] = sym_rule, + [sym_assumption] = sym_assumption, + [sym_rule_body] = sym_rule_body, + [sym_expr] = sym_expr, + [sym_atom] = sym_atom, + [sym_tuple] = sym_tuple, + [sym_value] = sym_value, + [sym_aggregate] = sym_aggregate, + [sym_unary_expr] = sym_unary_expr, + [sym_unary_op] = sym_unary_op, + [sym_binary_expr] = sym_binary_expr, + [aux_sym_file_repeat1] = aux_sym_file_repeat1, + [aux_sym_type_repeat1] = aux_sym_type_repeat1, + [aux_sym_import_repeat1] = aux_sym_import_repeat1, + [aux_sym_import_repeat2] = aux_sym_import_repeat2, + [aux_sym_rule_body_repeat1] = aux_sym_rule_body_repeat1, + [aux_sym_tuple_repeat1] = aux_sym_tuple_repeat1, +}; + +static const TSSymbolMetadata ts_symbol_metadata[] = { + [ts_builtin_sym_end] = { + .visible = false, + .named = true, + }, + [anon_sym_SEMI] = { + .visible = true, + .named = false, + }, + [sym_commentInner] = { + .visible = true, + .named = true, + }, + [sym_newline] = { + .visible = true, + .named = true, + }, + [sym__whitespace] = { + .visible = false, + .named = true, + }, + [sym_variable] = { + .visible = true, + .named = true, + }, + [sym_symbol] = { + .visible = true, + .named = true, + }, + [anon_sym_0] = { + .visible = true, + .named = false, + }, + [aux_sym_integer_token1] = { + .visible = false, + .named = false, + }, + [anon_sym_type] = { + .visible = true, + .named = false, + }, + [anon_sym_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_LPAREN] = { + .visible = true, + .named = false, + }, + [anon_sym_COMMA] = { + .visible = true, + .named = false, + }, + [anon_sym_RPAREN] = { + .visible = true, + .named = false, + }, + [anon_sym_import] = { + .visible = true, + .named = false, + }, + [anon_sym_DOT] = { + .visible = true, + .named = false, + }, + [anon_sym_define] = { + .visible = true, + .named = false, + }, + [anon_sym_input] = { + .visible = true, + .named = false, + }, + [anon_sym_output] = { + .visible = true, + .named = false, + }, + [anon_sym_decision] = { + .visible = true, + .named = false, + }, + [anon_sym_DASH] = { + .visible = true, + .named = false, + }, + [anon_sym_COLON_DASH] = { + .visible = true, + .named = false, + }, + [anon_sym_soft] = { + .visible = true, + .named = false, + }, + [anon_sym__] = { + .visible = true, + .named = false, + }, + [anon_sym_True] = { + .visible = true, + .named = false, + }, + [anon_sym_False] = { + .visible = true, + .named = false, + }, + [anon_sym_LBRACE] = { + .visible = true, + .named = false, + }, + [anon_sym_RBRACE] = { + .visible = true, + .named = false, + }, + [sym_aggregate_op] = { + .visible = true, + .named = true, + }, + [anon_sym_BANG] = { + .visible = true, + .named = false, + }, + [anon_sym_STAR] = { + .visible = true, + .named = false, + }, + [anon_sym_SLASH] = { + .visible = true, + .named = false, + }, + [anon_sym_PLUS] = { + .visible = true, + .named = false, + }, + [anon_sym_DOT_DOT] = { + .visible = true, + .named = false, + }, + [anon_sym_BANG_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_GT_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_LT_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_LT] = { + .visible = true, + .named = false, + }, + [anon_sym_GT] = { + .visible = true, + .named = false, + }, + [anon_sym_AMP_AMP] = { + .visible = true, + .named = false, + }, + [anon_sym_PIPE_PIPE] = { + .visible = true, + .named = false, + }, + [sym_file] = { + .visible = true, + .named = true, + }, + [sym_comment] = { + .visible = true, + .named = true, + }, + [sym_integer] = { + .visible = true, + .named = true, + }, + [sym_type_alias] = { + .visible = true, + .named = true, + }, + [sym_type] = { + .visible = true, + .named = true, + }, + [sym_import] = { + .visible = true, + .named = true, + }, + [sym_definition] = { + .visible = true, + .named = true, + }, + [sym_rule] = { + .visible = true, + .named = true, + }, + [sym_assumption] = { + .visible = true, + .named = true, + }, + [sym_rule_body] = { + .visible = true, + .named = true, + }, + [sym_expr] = { + .visible = true, + .named = true, + }, + [sym_atom] = { + .visible = true, + .named = true, + }, + [sym_tuple] = { + .visible = true, + .named = true, + }, + [sym_value] = { + .visible = true, + .named = true, + }, + [sym_aggregate] = { + .visible = true, + .named = true, + }, + [sym_unary_expr] = { + .visible = true, + .named = true, + }, + [sym_unary_op] = { + .visible = true, + .named = true, + }, + [sym_binary_expr] = { + .visible = true, + .named = true, + }, + [aux_sym_file_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_type_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_import_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_import_repeat2] = { + .visible = false, + .named = false, + }, + [aux_sym_rule_body_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_tuple_repeat1] = { + .visible = false, + .named = false, + }, +}; + +enum ts_field_identifiers { + field_aggregate = 1, + field_atom = 2, + field_binary = 3, + field_body = 4, + field_clause = 5, + field_decision = 6, + field_el = 7, + field_false = 8, + field_head = 9, + field_hole = 10, + field_input = 11, + field_integer = 12, + field_item = 13, + field_lhs = 14, + field_name = 15, + field_named = 16, + field_negate = 17, + field_op = 18, + field_output = 19, + field_parens = 20, + field_path = 21, + field_relation = 22, + field_rhs = 23, + field_soft = 24, + field_symbol = 25, + field_term = 26, + field_true = 27, + field_tuple = 28, + field_type = 29, + field_unary = 30, + field_value = 31, + field_variable = 32, +}; + +static const char * const ts_field_names[] = { + [0] = NULL, + [field_aggregate] = "aggregate", + [field_atom] = "atom", + [field_binary] = "binary", + [field_body] = "body", + [field_clause] = "clause", + [field_decision] = "decision", + [field_el] = "el", + [field_false] = "false", + [field_head] = "head", + [field_hole] = "hole", + [field_input] = "input", + [field_integer] = "integer", + [field_item] = "item", + [field_lhs] = "lhs", + [field_name] = "name", + [field_named] = "named", + [field_negate] = "negate", + [field_op] = "op", + [field_output] = "output", + [field_parens] = "parens", + [field_path] = "path", + [field_relation] = "relation", + [field_rhs] = "rhs", + [field_soft] = "soft", + [field_symbol] = "symbol", + [field_term] = "term", + [field_true] = "true", + [field_tuple] = "tuple", + [field_type] = "type", + [field_unary] = "unary", + [field_value] = "value", + [field_variable] = "variable", +}; + +static const TSMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = { + [1] = {.index = 0, .length = 1}, + [2] = {.index = 1, .length = 1}, + [3] = {.index = 2, .length = 1}, + [4] = {.index = 3, .length = 1}, + [5] = {.index = 4, .length = 1}, + [6] = {.index = 5, .length = 1}, + [7] = {.index = 6, .length = 1}, + [8] = {.index = 7, .length = 1}, + [9] = {.index = 8, .length = 1}, + [10] = {.index = 9, .length = 1}, + [11] = {.index = 10, .length = 1}, + [12] = {.index = 11, .length = 1}, + [13] = {.index = 12, .length = 1}, + [14] = {.index = 13, .length = 2}, + [15] = {.index = 15, .length = 2}, + [16] = {.index = 17, .length = 2}, + [17] = {.index = 19, .length = 2}, + [18] = {.index = 21, .length = 1}, + [19] = {.index = 22, .length = 2}, + [20] = {.index = 24, .length = 1}, + [21] = {.index = 25, .length = 2}, + [22] = {.index = 27, .length = 1}, + [23] = {.index = 28, .length = 3}, + [24] = {.index = 31, .length = 2}, + [25] = {.index = 33, .length = 1}, + [26] = {.index = 34, .length = 2}, + [27] = {.index = 36, .length = 2}, + [28] = {.index = 38, .length = 3}, + [29] = {.index = 41, .length = 3}, + [30] = {.index = 44, .length = 3}, + [31] = {.index = 47, .length = 3}, + [32] = {.index = 50, .length = 1}, + [33] = {.index = 51, .length = 2}, + [34] = {.index = 53, .length = 1}, + [35] = {.index = 54, .length = 2}, + [36] = {.index = 56, .length = 2}, + [37] = {.index = 58, .length = 2}, + [38] = {.index = 60, .length = 3}, + [39] = {.index = 63, .length = 3}, + [40] = {.index = 66, .length = 4}, + [41] = {.index = 70, .length = 4}, + [42] = {.index = 74, .length = 4}, + [43] = {.index = 78, .length = 2}, + [44] = {.index = 80, .length = 1}, + [45] = {.index = 81, .length = 2}, + [46] = {.index = 83, .length = 2}, + [47] = {.index = 85, .length = 5}, + [48] = {.index = 90, .length = 4}, + [49] = {.index = 94, .length = 1}, + [50] = {.index = 95, .length = 3}, + [51] = {.index = 98, .length = 2}, + [52] = {.index = 100, .length = 3}, + [53] = {.index = 103, .length = 2}, + [54] = {.index = 105, .length = 4}, +}; + +static const TSFieldMapEntry ts_field_map_entries[] = { + [0] = + {field_variable, 0}, + [1] = + {field_symbol, 0}, + [2] = + {field_hole, 0}, + [3] = + {field_true, 0}, + [4] = + {field_false, 0}, + [5] = + {field_integer, 0}, + [6] = + {field_atom, 0}, + [7] = + {field_tuple, 0}, + [8] = + {field_value, 0}, + [9] = + {field_aggregate, 0}, + [10] = + {field_unary, 0}, + [11] = + {field_binary, 0}, + [12] = + {field_clause, 0}, + [13] = + {field_body, 1}, + {field_head, 0}, + [15] = + {field_atom, 1}, + {field_op, 0}, + [17] = + {field_head, 1}, + {field_relation, 0}, + [19] = + {field_op, 0}, + {field_term, 1}, + [21] = + {field_named, 0}, + [22] = + {field_relation, 1}, + {field_type, 2}, + [24] = + {field_body, 1}, + [25] = + {field_clause, 0}, + {field_clause, 1, .inherited = true}, + [27] = + {field_parens, 1}, + [28] = + {field_lhs, 0}, + {field_op, 1}, + {field_rhs, 2}, + [31] = + {field_name, 1}, + {field_type, 3}, + [33] = + {field_path, 1}, + [34] = + {field_item, 3}, + {field_path, 1}, + [36] = + {field_path, 0, .inherited = true}, + {field_path, 1, .inherited = true}, + [38] = + {field_input, 1}, + {field_relation, 2}, + {field_type, 3}, + [41] = + {field_output, 1}, + {field_relation, 2}, + {field_type, 3}, + [44] = + {field_decision, 1}, + {field_relation, 2}, + {field_type, 3}, + [47] = + {field_head, 2}, + {field_negate, 0}, + {field_relation, 1}, + [50] = + {field_clause, 1}, + [51] = + {field_clause, 0, .inherited = true}, + {field_clause, 1, .inherited = true}, + [53] = + {field_el, 1}, + [54] = + {field_el, 1}, + {field_el, 2, .inherited = true}, + [56] = + {field_el, 0, .inherited = true}, + {field_el, 1, .inherited = true}, + [58] = + {field_body, 2}, + {field_op, 0}, + [60] = + {field_body, 3}, + {field_head, 1}, + {field_relation, 0}, + [63] = + {field_item, 4}, + {field_path, 1}, + {field_path, 2, .inherited = true}, + [66] = + {field_input, 1}, + {field_output, 2}, + {field_relation, 3}, + {field_type, 4}, + [70] = + {field_decision, 2}, + {field_input, 1}, + {field_relation, 3}, + {field_type, 4}, + [74] = + {field_decision, 2}, + {field_output, 1}, + {field_relation, 3}, + {field_type, 4}, + [78] = + {field_item, 4}, + {field_path, 1}, + [80] = + {field_tuple, 1}, + [81] = + {field_tuple, 1}, + {field_tuple, 2, .inherited = true}, + [83] = + {field_tuple, 0, .inherited = true}, + {field_tuple, 1, .inherited = true}, + [85] = + {field_decision, 3}, + {field_input, 1}, + {field_output, 2}, + {field_relation, 4}, + {field_type, 5}, + [90] = + {field_body, 4}, + {field_head, 2}, + {field_negate, 0}, + {field_relation, 1}, + [94] = + {field_item, 1}, + [95] = + {field_item, 4}, + {field_item, 5, .inherited = true}, + {field_path, 1}, + [98] = + {field_item, 0, .inherited = true}, + {field_item, 1, .inherited = true}, + [100] = + {field_item, 5}, + {field_path, 1}, + {field_path, 2, .inherited = true}, + [103] = + {field_body, 5}, + {field_soft, 2}, + [105] = + {field_item, 5}, + {field_item, 6, .inherited = true}, + {field_path, 1}, + {field_path, 2, .inherited = true}, +}; + +static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = { + [0] = {0}, +}; + +static const uint16_t ts_non_terminal_alias_map[] = { + 0, +}; + +static const TSStateId ts_primary_state_ids[STATE_COUNT] = { + [0] = 0, + [1] = 1, + [2] = 2, + [3] = 3, + [4] = 4, + [5] = 5, + [6] = 6, + [7] = 7, + [8] = 8, + [9] = 9, + [10] = 10, + [11] = 11, + [12] = 12, + [13] = 13, + [14] = 14, + [15] = 15, + [16] = 16, + [17] = 17, + [18] = 18, + [19] = 19, + [20] = 20, + [21] = 21, + [22] = 22, + [23] = 23, + [24] = 24, + [25] = 25, + [26] = 26, + [27] = 27, + [28] = 28, + [29] = 29, + [30] = 30, + [31] = 31, + [32] = 32, + [33] = 33, + [34] = 34, + [35] = 35, + [36] = 36, + [37] = 37, + [38] = 38, + [39] = 39, + [40] = 40, + [41] = 41, + [42] = 42, + [43] = 43, + [44] = 44, + [45] = 45, + [46] = 46, + [47] = 47, + [48] = 48, + [49] = 49, + [50] = 50, + [51] = 51, + [52] = 52, + [53] = 53, + [54] = 54, + [55] = 55, + [56] = 56, + [57] = 57, + [58] = 58, + [59] = 59, + [60] = 60, + [61] = 61, + [62] = 62, + [63] = 63, + [64] = 64, + [65] = 65, + [66] = 66, + [67] = 67, + [68] = 68, + [69] = 69, + [70] = 70, + [71] = 71, + [72] = 72, + [73] = 73, + [74] = 74, + [75] = 75, + [76] = 76, + [77] = 77, + [78] = 78, + [79] = 79, + [80] = 80, + [81] = 81, + [82] = 82, + [83] = 81, + [84] = 84, + [85] = 85, + [86] = 86, + [87] = 87, + [88] = 88, + [89] = 89, + [90] = 85, + [91] = 91, + [92] = 92, + [93] = 93, + [94] = 94, + [95] = 95, + [96] = 96, + [97] = 97, + [98] = 98, + [99] = 99, + [100] = 100, + [101] = 101, + [102] = 102, + [103] = 103, + [104] = 104, + [105] = 105, + [106] = 106, + [107] = 97, + [108] = 108, + [109] = 109, + [110] = 110, + [111] = 111, + [112] = 112, + [113] = 113, + [114] = 114, + [115] = 115, + [116] = 116, + [117] = 57, + [118] = 70, + [119] = 71, + [120] = 120, + [121] = 109, + [122] = 122, + [123] = 123, + [124] = 124, + [125] = 125, + [126] = 126, + [127] = 127, + [128] = 128, + [129] = 129, + [130] = 130, + [131] = 131, + [132] = 132, + [133] = 133, + [134] = 134, + [135] = 135, + [136] = 136, + [137] = 137, + [138] = 138, + [139] = 139, + [140] = 140, + [141] = 141, + [142] = 139, + [143] = 143, + [144] = 144, + [145] = 145, + [146] = 146, + [147] = 77, +}; + +static bool ts_lex(TSLexer *lexer, TSStateId state) { + START_LEXER(); + eof = lexer->eof(lexer); + switch (state) { + case 0: + if (eof) ADVANCE(46); + ADVANCE_MAP( + '!', 86, + '&', 4, + '(', 66, + ')', 68, + '*', 87, + '+', 89, + ',', 67, + '-', 77, + '.', 71, + '/', 88, + '0', 62, + ':', 5, + ';', 47, + '<', 94, + '=', 65, + '>', 95, + '@', 43, + 'F', 54, + 'T', 58, + '_', 80, + 'd', 9, + 'i', 20, + 'o', 38, + 's', 24, + 't', 41, + '{', 83, + '|', 42, + '}', 84, + '\t', 51, + ' ', 51, + '\n', 50, + '\r', 50, + ); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(63); + if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(61); + END_STATE(); + case 1: + if (lookahead == '\n') ADVANCE(49); + if (lookahead == ';') ADVANCE(48); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') ADVANCE(52); + if (lookahead != 0) ADVANCE(2); + END_STATE(); + case 2: + if (lookahead == '\n') ADVANCE(49); + if (lookahead != 0) ADVANCE(2); + END_STATE(); + case 3: + ADVANCE_MAP( + '!', 6, + '&', 4, + '(', 66, + ')', 68, + '*', 87, + '+', 89, + ',', 67, + '-', 76, + '.', 71, + '/', 88, + ':', 5, + ';', 47, + '<', 94, + '=', 65, + '>', 95, + 'd', 12, + 'i', 22, + 'o', 38, + '{', 83, + '|', 42, + '}', 84, + '\t', 51, + '\n', 51, + '\r', 51, + ' ', 51, + ); + if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(61); + END_STATE(); + case 4: + if (lookahead == '&') ADVANCE(96); + END_STATE(); + case 5: + if (lookahead == '-') ADVANCE(78); + END_STATE(); + case 6: + if (lookahead == '=') ADVANCE(91); + END_STATE(); + case 7: + if (lookahead == 'c') ADVANCE(16); + END_STATE(); + case 8: + if (lookahead == 'c') ADVANCE(16); + if (lookahead == 'f') ADVANCE(17); + END_STATE(); + case 9: + if (lookahead == 'e') ADVANCE(8); + END_STATE(); + case 10: + if (lookahead == 'e') ADVANCE(64); + END_STATE(); + case 11: + if (lookahead == 'e') ADVANCE(72); + END_STATE(); + case 12: + if (lookahead == 'e') ADVANCE(7); + END_STATE(); + case 13: + if (lookahead == 'e') ADVANCE(15); + END_STATE(); + case 14: + if (lookahead == 'f') ADVANCE(33); + END_STATE(); + case 15: + if (lookahead == 'f') ADVANCE(17); + END_STATE(); + case 16: + if (lookahead == 'i') ADVANCE(32); + END_STATE(); + case 17: + if (lookahead == 'i') ADVANCE(23); + END_STATE(); + case 18: + if (lookahead == 'i') ADVANCE(26); + END_STATE(); + case 19: + if (lookahead == 'm') ADVANCE(28); + END_STATE(); + case 20: + if (lookahead == 'm') ADVANCE(28); + if (lookahead == 'n') ADVANCE(29); + END_STATE(); + case 21: + if (lookahead == 'n') ADVANCE(75); + END_STATE(); + case 22: + if (lookahead == 'n') ADVANCE(29); + END_STATE(); + case 23: + if (lookahead == 'n') ADVANCE(11); + END_STATE(); + case 24: + if (lookahead == 'o') ADVANCE(14); + END_STATE(); + case 25: + if (lookahead == 'o') ADVANCE(31); + END_STATE(); + case 26: + if (lookahead == 'o') ADVANCE(21); + END_STATE(); + case 27: + if (lookahead == 'p') ADVANCE(10); + END_STATE(); + case 28: + if (lookahead == 'p') ADVANCE(25); + END_STATE(); + case 29: + if (lookahead == 'p') ADVANCE(39); + END_STATE(); + case 30: + if (lookahead == 'p') ADVANCE(40); + END_STATE(); + case 31: + if (lookahead == 'r') ADVANCE(35); + END_STATE(); + case 32: + if (lookahead == 's') ADVANCE(18); + END_STATE(); + case 33: + if (lookahead == 't') ADVANCE(79); + END_STATE(); + case 34: + if (lookahead == 't') ADVANCE(73); + END_STATE(); + case 35: + if (lookahead == 't') ADVANCE(69); + END_STATE(); + case 36: + if (lookahead == 't') ADVANCE(74); + END_STATE(); + case 37: + if (lookahead == 't') ADVANCE(30); + END_STATE(); + case 38: + if (lookahead == 'u') ADVANCE(37); + END_STATE(); + case 39: + if (lookahead == 'u') ADVANCE(34); + END_STATE(); + case 40: + if (lookahead == 'u') ADVANCE(36); + END_STATE(); + case 41: + if (lookahead == 'y') ADVANCE(27); + END_STATE(); + case 42: + if (lookahead == '|') ADVANCE(97); + END_STATE(); + case 43: + if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(85); + END_STATE(); + case 44: + if (eof) ADVANCE(46); + ADVANCE_MAP( + '!', 86, + '&', 4, + '(', 66, + ')', 68, + '*', 87, + '+', 89, + ',', 67, + '-', 77, + '.', 71, + '/', 88, + '0', 62, + ':', 5, + ';', 47, + '<', 94, + '=', 65, + '>', 95, + '@', 43, + 'F', 54, + 'T', 58, + '_', 80, + '|', 42, + '}', 84, + '\t', 51, + '\n', 51, + '\r', 51, + ' ', 51, + ); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(63); + if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(61); + if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(53); + END_STATE(); + case 45: + if (eof) ADVANCE(46); + ADVANCE_MAP( + '-', 76, + '.', 70, + ':', 5, + ';', 47, + 'd', 13, + 'i', 19, + 's', 24, + 't', 41, + '\t', 51, + ' ', 51, + '\n', 50, + '\r', 50, + ); + if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(61); + END_STATE(); + case 46: + ACCEPT_TOKEN(ts_builtin_sym_end); + END_STATE(); + case 47: + ACCEPT_TOKEN(anon_sym_SEMI); + END_STATE(); + case 48: + ACCEPT_TOKEN(anon_sym_SEMI); + if (lookahead == '\n') ADVANCE(49); + if (lookahead != 0) ADVANCE(2); + END_STATE(); + case 49: + ACCEPT_TOKEN(sym_commentInner); + END_STATE(); + case 50: + ACCEPT_TOKEN(sym_newline); + END_STATE(); + case 51: + ACCEPT_TOKEN(sym__whitespace); + END_STATE(); + case 52: + ACCEPT_TOKEN(sym__whitespace); + if (lookahead == '\n') ADVANCE(49); + if (lookahead != 0) ADVANCE(2); + END_STATE(); + case 53: + ACCEPT_TOKEN(sym_variable); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(53); + END_STATE(); + case 54: + ACCEPT_TOKEN(sym_symbol); + if (lookahead == 'a') ADVANCE(57); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(61); + END_STATE(); + case 55: + ACCEPT_TOKEN(sym_symbol); + if (lookahead == 'e') ADVANCE(81); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(61); + END_STATE(); + case 56: + ACCEPT_TOKEN(sym_symbol); + if (lookahead == 'e') ADVANCE(82); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(61); + END_STATE(); + case 57: + ACCEPT_TOKEN(sym_symbol); + if (lookahead == 'l') ADVANCE(59); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(61); + END_STATE(); + case 58: + ACCEPT_TOKEN(sym_symbol); + if (lookahead == 'r') ADVANCE(60); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(61); + END_STATE(); + case 59: + ACCEPT_TOKEN(sym_symbol); + if (lookahead == 's') ADVANCE(56); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(61); + END_STATE(); + case 60: + ACCEPT_TOKEN(sym_symbol); + if (lookahead == 'u') ADVANCE(55); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(61); + END_STATE(); + case 61: + ACCEPT_TOKEN(sym_symbol); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(61); + END_STATE(); + case 62: + ACCEPT_TOKEN(anon_sym_0); + END_STATE(); + case 63: + ACCEPT_TOKEN(aux_sym_integer_token1); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(63); + END_STATE(); + case 64: + ACCEPT_TOKEN(anon_sym_type); + END_STATE(); + case 65: + ACCEPT_TOKEN(anon_sym_EQ); + END_STATE(); + case 66: + ACCEPT_TOKEN(anon_sym_LPAREN); + END_STATE(); + case 67: + ACCEPT_TOKEN(anon_sym_COMMA); + END_STATE(); + case 68: + ACCEPT_TOKEN(anon_sym_RPAREN); + END_STATE(); + case 69: + ACCEPT_TOKEN(anon_sym_import); + END_STATE(); + case 70: + ACCEPT_TOKEN(anon_sym_DOT); + END_STATE(); + case 71: + ACCEPT_TOKEN(anon_sym_DOT); + if (lookahead == '.') ADVANCE(90); + END_STATE(); + case 72: + ACCEPT_TOKEN(anon_sym_define); + END_STATE(); + case 73: + ACCEPT_TOKEN(anon_sym_input); + END_STATE(); + case 74: + ACCEPT_TOKEN(anon_sym_output); + END_STATE(); + case 75: + ACCEPT_TOKEN(anon_sym_decision); + END_STATE(); + case 76: + ACCEPT_TOKEN(anon_sym_DASH); + END_STATE(); + case 77: + ACCEPT_TOKEN(anon_sym_DASH); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(63); + END_STATE(); + case 78: + ACCEPT_TOKEN(anon_sym_COLON_DASH); + END_STATE(); + case 79: + ACCEPT_TOKEN(anon_sym_soft); + END_STATE(); + case 80: + ACCEPT_TOKEN(anon_sym__); + END_STATE(); + case 81: + ACCEPT_TOKEN(anon_sym_True); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(61); + END_STATE(); + case 82: + ACCEPT_TOKEN(anon_sym_False); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(61); + END_STATE(); + case 83: + ACCEPT_TOKEN(anon_sym_LBRACE); + END_STATE(); + case 84: + ACCEPT_TOKEN(anon_sym_RBRACE); + END_STATE(); + case 85: + ACCEPT_TOKEN(sym_aggregate_op); + if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(85); + END_STATE(); + case 86: + ACCEPT_TOKEN(anon_sym_BANG); + if (lookahead == '=') ADVANCE(91); + END_STATE(); + case 87: + ACCEPT_TOKEN(anon_sym_STAR); + END_STATE(); + case 88: + ACCEPT_TOKEN(anon_sym_SLASH); + END_STATE(); + case 89: + ACCEPT_TOKEN(anon_sym_PLUS); + END_STATE(); + case 90: + ACCEPT_TOKEN(anon_sym_DOT_DOT); + END_STATE(); + case 91: + ACCEPT_TOKEN(anon_sym_BANG_EQ); + END_STATE(); + case 92: + ACCEPT_TOKEN(anon_sym_GT_EQ); + END_STATE(); + case 93: + ACCEPT_TOKEN(anon_sym_LT_EQ); + END_STATE(); + case 94: + ACCEPT_TOKEN(anon_sym_LT); + if (lookahead == '=') ADVANCE(93); + END_STATE(); + case 95: + ACCEPT_TOKEN(anon_sym_GT); + if (lookahead == '=') ADVANCE(92); + END_STATE(); + case 96: + ACCEPT_TOKEN(anon_sym_AMP_AMP); + END_STATE(); + case 97: + ACCEPT_TOKEN(anon_sym_PIPE_PIPE); + END_STATE(); + default: + return false; + } +} + +static const TSLexMode ts_lex_modes[STATE_COUNT] = { + [0] = {.lex_state = 0}, + [1] = {.lex_state = 45}, + [2] = {.lex_state = 44}, + [3] = {.lex_state = 44}, + [4] = {.lex_state = 44}, + [5] = {.lex_state = 44}, + [6] = {.lex_state = 44}, + [7] = {.lex_state = 44}, + [8] = {.lex_state = 44}, + [9] = {.lex_state = 44}, + [10] = {.lex_state = 44}, + [11] = {.lex_state = 44}, + [12] = {.lex_state = 44}, + [13] = {.lex_state = 44}, + [14] = {.lex_state = 44}, + [15] = {.lex_state = 44}, + [16] = {.lex_state = 44}, + [17] = {.lex_state = 44}, + [18] = {.lex_state = 44}, + [19] = {.lex_state = 44}, + [20] = {.lex_state = 44}, + [21] = {.lex_state = 3}, + [22] = {.lex_state = 3}, + [23] = {.lex_state = 3}, + [24] = {.lex_state = 3}, + [25] = {.lex_state = 3}, + [26] = {.lex_state = 3}, + [27] = {.lex_state = 3}, + [28] = {.lex_state = 3}, + [29] = {.lex_state = 3}, + [30] = {.lex_state = 3}, + [31] = {.lex_state = 3}, + [32] = {.lex_state = 3}, + [33] = {.lex_state = 3}, + [34] = {.lex_state = 3}, + [35] = {.lex_state = 3}, + [36] = {.lex_state = 3}, + [37] = {.lex_state = 3}, + [38] = {.lex_state = 3}, + [39] = {.lex_state = 3}, + [40] = {.lex_state = 3}, + [41] = {.lex_state = 3}, + [42] = {.lex_state = 3}, + [43] = {.lex_state = 3}, + [44] = {.lex_state = 3}, + [45] = {.lex_state = 3}, + [46] = {.lex_state = 3}, + [47] = {.lex_state = 3}, + [48] = {.lex_state = 3}, + [49] = {.lex_state = 3}, + [50] = {.lex_state = 3}, + [51] = {.lex_state = 45}, + [52] = {.lex_state = 45}, + [53] = {.lex_state = 44}, + [54] = {.lex_state = 45}, + [55] = {.lex_state = 45}, + [56] = {.lex_state = 45}, + [57] = {.lex_state = 45}, + [58] = {.lex_state = 45}, + [59] = {.lex_state = 45}, + [60] = {.lex_state = 45}, + [61] = {.lex_state = 45}, + [62] = {.lex_state = 45}, + [63] = {.lex_state = 45}, + [64] = {.lex_state = 45}, + [65] = {.lex_state = 45}, + [66] = {.lex_state = 45}, + [67] = {.lex_state = 45}, + [68] = {.lex_state = 45}, + [69] = {.lex_state = 45}, + [70] = {.lex_state = 45}, + [71] = {.lex_state = 45}, + [72] = {.lex_state = 45}, + [73] = {.lex_state = 45}, + [74] = {.lex_state = 45}, + [75] = {.lex_state = 45}, + [76] = {.lex_state = 45}, + [77] = {.lex_state = 45}, + [78] = {.lex_state = 45}, + [79] = {.lex_state = 44}, + [80] = {.lex_state = 44}, + [81] = {.lex_state = 3}, + [82] = {.lex_state = 3}, + [83] = {.lex_state = 3}, + [84] = {.lex_state = 44}, + [85] = {.lex_state = 3}, + [86] = {.lex_state = 3}, + [87] = {.lex_state = 3}, + [88] = {.lex_state = 3}, + [89] = {.lex_state = 3}, + [90] = {.lex_state = 3}, + [91] = {.lex_state = 3}, + [92] = {.lex_state = 3}, + [93] = {.lex_state = 3}, + [94] = {.lex_state = 44}, + [95] = {.lex_state = 3}, + [96] = {.lex_state = 44}, + [97] = {.lex_state = 44}, + [98] = {.lex_state = 3}, + [99] = {.lex_state = 3}, + [100] = {.lex_state = 44}, + [101] = {.lex_state = 44}, + [102] = {.lex_state = 44}, + [103] = {.lex_state = 3}, + [104] = {.lex_state = 44}, + [105] = {.lex_state = 44}, + [106] = {.lex_state = 44}, + [107] = {.lex_state = 44}, + [108] = {.lex_state = 3}, + [109] = {.lex_state = 44}, + [110] = {.lex_state = 3}, + [111] = {.lex_state = 44}, + [112] = {.lex_state = 3}, + [113] = {.lex_state = 44}, + [114] = {.lex_state = 44}, + [115] = {.lex_state = 3}, + [116] = {.lex_state = 44}, + [117] = {.lex_state = 44}, + [118] = {.lex_state = 44}, + [119] = {.lex_state = 44}, + [120] = {.lex_state = 44}, + [121] = {.lex_state = 44}, + [122] = {.lex_state = 3}, + [123] = {.lex_state = 44}, + [124] = {.lex_state = 3}, + [125] = {.lex_state = 3}, + [126] = {.lex_state = 3}, + [127] = {.lex_state = 44}, + [128] = {.lex_state = 44}, + [129] = {.lex_state = 3}, + [130] = {.lex_state = 3}, + [131] = {.lex_state = 44}, + [132] = {.lex_state = 44}, + [133] = {.lex_state = 44}, + [134] = {.lex_state = 44}, + [135] = {.lex_state = 3}, + [136] = {.lex_state = 3}, + [137] = {.lex_state = 44}, + [138] = {.lex_state = 44}, + [139] = {.lex_state = 1}, + [140] = {.lex_state = 3}, + [141] = {.lex_state = 44}, + [142] = {.lex_state = 1}, + [143] = {.lex_state = 3}, + [144] = {.lex_state = 3}, + [145] = {.lex_state = 3}, + [146] = {.lex_state = 44}, + [147] = {(TSStateId)(-1),}, +}; + +static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { + [STATE(0)] = { + [sym_comment] = STATE(0), + [ts_builtin_sym_end] = ACTIONS(1), + [anon_sym_SEMI] = ACTIONS(3), + [sym_newline] = ACTIONS(1), + [sym__whitespace] = ACTIONS(5), + [sym_symbol] = ACTIONS(1), + [anon_sym_0] = ACTIONS(1), + [aux_sym_integer_token1] = ACTIONS(1), + [anon_sym_type] = ACTIONS(1), + [anon_sym_EQ] = ACTIONS(1), + [anon_sym_LPAREN] = ACTIONS(1), + [anon_sym_COMMA] = ACTIONS(1), + [anon_sym_RPAREN] = ACTIONS(1), + [anon_sym_import] = ACTIONS(1), + [anon_sym_DOT] = ACTIONS(1), + [anon_sym_define] = ACTIONS(1), + [anon_sym_input] = ACTIONS(1), + [anon_sym_output] = ACTIONS(1), + [anon_sym_decision] = ACTIONS(1), + [anon_sym_DASH] = ACTIONS(1), + [anon_sym_COLON_DASH] = ACTIONS(1), + [anon_sym_soft] = ACTIONS(1), + [anon_sym__] = ACTIONS(1), + [anon_sym_True] = ACTIONS(1), + [anon_sym_False] = ACTIONS(1), + [anon_sym_LBRACE] = ACTIONS(1), + [anon_sym_RBRACE] = ACTIONS(1), + [sym_aggregate_op] = ACTIONS(1), + [anon_sym_BANG] = ACTIONS(1), + [anon_sym_STAR] = ACTIONS(1), + [anon_sym_SLASH] = ACTIONS(1), + [anon_sym_PLUS] = ACTIONS(1), + [anon_sym_DOT_DOT] = ACTIONS(1), + [anon_sym_BANG_EQ] = ACTIONS(1), + [anon_sym_GT_EQ] = ACTIONS(1), + [anon_sym_LT_EQ] = ACTIONS(1), + [anon_sym_LT] = ACTIONS(1), + [anon_sym_GT] = ACTIONS(1), + [anon_sym_AMP_AMP] = ACTIONS(1), + [anon_sym_PIPE_PIPE] = ACTIONS(1), + }, + [STATE(1)] = { + [sym_file] = STATE(141), + [sym_comment] = STATE(1), + [sym_type_alias] = STATE(51), + [sym_import] = STATE(51), + [sym_definition] = STATE(51), + [sym_rule] = STATE(51), + [sym_assumption] = STATE(51), + [aux_sym_file_repeat1] = STATE(51), + [ts_builtin_sym_end] = ACTIONS(7), + [anon_sym_SEMI] = ACTIONS(9), + [sym_newline] = ACTIONS(11), + [sym__whitespace] = ACTIONS(5), + [sym_symbol] = ACTIONS(13), + [anon_sym_type] = ACTIONS(15), + [anon_sym_import] = ACTIONS(17), + [anon_sym_define] = ACTIONS(19), + [anon_sym_DASH] = ACTIONS(21), + [anon_sym_COLON_DASH] = ACTIONS(23), + [anon_sym_soft] = ACTIONS(25), + }, + [STATE(2)] = { + [sym_comment] = STATE(2), + [sym_integer] = STATE(43), + [sym_expr] = STATE(29), + [sym_atom] = STATE(22), + [sym_tuple] = STATE(23), + [sym_value] = STATE(24), + [sym_aggregate] = STATE(25), + [sym_unary_expr] = STATE(26), + [sym_unary_op] = STATE(10), + [sym_binary_expr] = STATE(27), + [anon_sym_SEMI] = ACTIONS(3), + [sym__whitespace] = ACTIONS(27), + [sym_variable] = ACTIONS(29), + [sym_symbol] = ACTIONS(31), + [anon_sym_0] = ACTIONS(33), + [aux_sym_integer_token1] = ACTIONS(33), + [anon_sym_EQ] = ACTIONS(35), + [anon_sym_LPAREN] = ACTIONS(37), + [anon_sym_COMMA] = ACTIONS(35), + [anon_sym_RPAREN] = ACTIONS(35), + [anon_sym_DOT] = ACTIONS(39), + [anon_sym_DASH] = ACTIONS(41), + [anon_sym_COLON_DASH] = ACTIONS(35), + [anon_sym__] = ACTIONS(43), + [anon_sym_True] = ACTIONS(45), + [anon_sym_False] = ACTIONS(47), + [anon_sym_RBRACE] = ACTIONS(35), + [sym_aggregate_op] = ACTIONS(49), + [anon_sym_BANG] = ACTIONS(41), + [anon_sym_STAR] = ACTIONS(35), + [anon_sym_SLASH] = ACTIONS(35), + [anon_sym_PLUS] = ACTIONS(35), + [anon_sym_DOT_DOT] = ACTIONS(35), + [anon_sym_BANG_EQ] = ACTIONS(35), + [anon_sym_GT_EQ] = ACTIONS(35), + [anon_sym_LT_EQ] = ACTIONS(35), + [anon_sym_LT] = ACTIONS(39), + [anon_sym_GT] = ACTIONS(39), + [anon_sym_AMP_AMP] = ACTIONS(35), + [anon_sym_PIPE_PIPE] = ACTIONS(35), + }, +}; + +static const uint16_t ts_small_parse_table[] = { + [0] = 23, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + STATE(3), 1, + sym_comment, + STATE(10), 1, + sym_unary_op, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(43), 1, + sym_integer, + STATE(45), 1, + sym_expr, + STATE(134), 1, + sym_rule_body, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [71] = 23, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + STATE(4), 1, + sym_comment, + STATE(10), 1, + sym_unary_op, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(43), 1, + sym_integer, + STATE(45), 1, + sym_expr, + STATE(127), 1, + sym_rule_body, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [142] = 23, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + STATE(5), 1, + sym_comment, + STATE(10), 1, + sym_unary_op, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(43), 1, + sym_integer, + STATE(45), 1, + sym_expr, + STATE(133), 1, + sym_rule_body, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [213] = 23, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + STATE(6), 1, + sym_comment, + STATE(10), 1, + sym_unary_op, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(43), 1, + sym_integer, + STATE(45), 1, + sym_expr, + STATE(138), 1, + sym_rule_body, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [284] = 23, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + ACTIONS(53), 1, + anon_sym_RPAREN, + STATE(7), 1, + sym_comment, + STATE(10), 1, + sym_unary_op, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(43), 1, + sym_integer, + STATE(50), 1, + sym_expr, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [355] = 23, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + STATE(8), 1, + sym_comment, + STATE(10), 1, + sym_unary_op, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(43), 1, + sym_integer, + STATE(45), 1, + sym_expr, + STATE(131), 1, + sym_rule_body, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [426] = 22, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + STATE(9), 1, + sym_comment, + STATE(10), 1, + sym_unary_op, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(43), 1, + sym_integer, + STATE(48), 1, + sym_expr, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [494] = 21, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(32), 1, + sym_expr, + STATE(43), 1, + sym_integer, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + STATE(10), 2, + sym_comment, + sym_unary_op, + [560] = 22, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + STATE(10), 1, + sym_unary_op, + STATE(11), 1, + sym_comment, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(43), 1, + sym_integer, + STATE(49), 1, + sym_expr, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [628] = 22, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + STATE(10), 1, + sym_unary_op, + STATE(12), 1, + sym_comment, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(29), 1, + sym_expr, + STATE(43), 1, + sym_integer, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [696] = 22, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + STATE(10), 1, + sym_unary_op, + STATE(13), 1, + sym_comment, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(43), 1, + sym_integer, + STATE(46), 1, + sym_expr, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [764] = 22, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + STATE(10), 1, + sym_unary_op, + STATE(14), 1, + sym_comment, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(34), 1, + sym_expr, + STATE(43), 1, + sym_integer, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [832] = 22, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + STATE(10), 1, + sym_unary_op, + STATE(15), 1, + sym_comment, + STATE(21), 1, + sym_expr, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(43), 1, + sym_integer, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [900] = 22, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + STATE(10), 1, + sym_unary_op, + STATE(16), 1, + sym_comment, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(36), 1, + sym_expr, + STATE(43), 1, + sym_integer, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [968] = 22, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + STATE(10), 1, + sym_unary_op, + STATE(17), 1, + sym_comment, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(43), 1, + sym_integer, + STATE(47), 1, + sym_expr, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [1036] = 22, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + STATE(10), 1, + sym_unary_op, + STATE(18), 1, + sym_comment, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(35), 1, + sym_expr, + STATE(43), 1, + sym_integer, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [1104] = 22, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + STATE(10), 1, + sym_unary_op, + STATE(19), 1, + sym_comment, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(38), 1, + sym_expr, + STATE(43), 1, + sym_integer, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [1172] = 22, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(29), 1, + sym_variable, + ACTIONS(31), 1, + sym_symbol, + ACTIONS(37), 1, + anon_sym_LPAREN, + ACTIONS(41), 1, + anon_sym_DASH, + ACTIONS(43), 1, + anon_sym__, + ACTIONS(45), 1, + anon_sym_True, + ACTIONS(47), 1, + anon_sym_False, + ACTIONS(49), 1, + sym_aggregate_op, + ACTIONS(51), 1, + anon_sym_BANG, + STATE(10), 1, + sym_unary_op, + STATE(20), 1, + sym_comment, + STATE(22), 1, + sym_atom, + STATE(23), 1, + sym_tuple, + STATE(24), 1, + sym_value, + STATE(25), 1, + sym_aggregate, + STATE(26), 1, + sym_unary_expr, + STATE(27), 1, + sym_binary_expr, + STATE(43), 1, + sym_integer, + STATE(50), 1, + sym_expr, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [1240] = 7, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(21), 1, + sym_comment, + ACTIONS(59), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(61), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(57), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(55), 11, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1276] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(22), 1, + sym_comment, + ACTIONS(65), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(63), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1308] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(23), 1, + sym_comment, + ACTIONS(69), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(67), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1340] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(24), 1, + sym_comment, + ACTIONS(73), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(71), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1372] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(25), 1, + sym_comment, + ACTIONS(77), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(75), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1404] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(26), 1, + sym_comment, + ACTIONS(81), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(79), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1436] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(27), 1, + sym_comment, + ACTIONS(85), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(83), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1468] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(28), 1, + sym_comment, + ACTIONS(89), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(87), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1500] = 8, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(95), 1, + anon_sym_DOT_DOT, + STATE(29), 1, + sym_comment, + ACTIONS(59), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(61), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(93), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(91), 10, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1538] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(30), 1, + sym_comment, + ACTIONS(99), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(97), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1570] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(31), 1, + sym_comment, + ACTIONS(103), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(101), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1602] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(32), 1, + sym_comment, + ACTIONS(107), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(105), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1634] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(33), 1, + sym_comment, + ACTIONS(111), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(109), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1666] = 8, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(95), 1, + anon_sym_DOT_DOT, + STATE(34), 1, + sym_comment, + ACTIONS(59), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(61), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(57), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(55), 10, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1704] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(35), 1, + sym_comment, + ACTIONS(61), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(57), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(55), 13, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1738] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(36), 1, + sym_comment, + ACTIONS(57), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(55), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1770] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(37), 1, + sym_comment, + ACTIONS(115), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(113), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1802] = 10, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(57), 1, + anon_sym_DOT, + ACTIONS(95), 1, + anon_sym_DOT_DOT, + STATE(38), 1, + sym_comment, + ACTIONS(59), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(61), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(119), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(55), 6, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1844] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(39), 1, + sym_comment, + ACTIONS(123), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(121), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1876] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(40), 1, + sym_comment, + ACTIONS(127), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(125), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1908] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(41), 1, + sym_comment, + ACTIONS(131), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(129), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1940] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(42), 1, + sym_comment, + ACTIONS(135), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(133), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [1972] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(43), 1, + sym_comment, + ACTIONS(139), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(137), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [2004] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(44), 1, + sym_comment, + ACTIONS(143), 3, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + ACTIONS(141), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_RBRACE, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PLUS, + anon_sym_DOT_DOT, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + [2036] = 13, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(95), 1, + anon_sym_DOT_DOT, + ACTIONS(145), 1, + anon_sym_COMMA, + ACTIONS(147), 1, + anon_sym_DOT, + ACTIONS(149), 1, + anon_sym_RBRACE, + STATE(45), 1, + sym_comment, + STATE(80), 1, + aux_sym_rule_body_repeat1, + ACTIONS(59), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(61), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(119), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(151), 2, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [2083] = 12, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(95), 1, + anon_sym_DOT_DOT, + ACTIONS(153), 1, + anon_sym_COMMA, + ACTIONS(155), 1, + anon_sym_RPAREN, + STATE(46), 1, + sym_comment, + STATE(102), 1, + aux_sym_tuple_repeat1, + ACTIONS(59), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(61), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(119), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(151), 2, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [2127] = 11, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(95), 1, + anon_sym_DOT_DOT, + ACTIONS(159), 1, + anon_sym_DOT, + STATE(47), 1, + sym_comment, + ACTIONS(59), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(61), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(119), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(151), 2, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(157), 2, + anon_sym_COMMA, + anon_sym_RBRACE, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [2169] = 11, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(95), 1, + anon_sym_DOT_DOT, + ACTIONS(161), 1, + anon_sym_DOT, + ACTIONS(163), 1, + anon_sym_COLON_DASH, + STATE(48), 1, + sym_comment, + ACTIONS(59), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(61), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(119), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(151), 2, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [2210] = 11, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(95), 1, + anon_sym_DOT_DOT, + ACTIONS(165), 1, + anon_sym_DOT, + ACTIONS(167), 1, + anon_sym_COLON_DASH, + STATE(49), 1, + sym_comment, + ACTIONS(59), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(61), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(119), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(151), 2, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [2251] = 10, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(95), 1, + anon_sym_DOT_DOT, + STATE(50), 1, + sym_comment, + ACTIONS(59), 2, + anon_sym_DASH, + anon_sym_PLUS, + ACTIONS(61), 2, + anon_sym_STAR, + anon_sym_SLASH, + ACTIONS(119), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(151), 2, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(169), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_BANG_EQ, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [2290] = 13, + ACTIONS(5), 1, + sym__whitespace, + ACTIONS(9), 1, + anon_sym_SEMI, + ACTIONS(13), 1, + sym_symbol, + ACTIONS(15), 1, + anon_sym_type, + ACTIONS(17), 1, + anon_sym_import, + ACTIONS(19), 1, + anon_sym_define, + ACTIONS(21), 1, + anon_sym_DASH, + ACTIONS(23), 1, + anon_sym_COLON_DASH, + ACTIONS(25), 1, + anon_sym_soft, + ACTIONS(171), 1, + ts_builtin_sym_end, + ACTIONS(173), 1, + sym_newline, + STATE(51), 1, + sym_comment, + STATE(52), 6, + sym_type_alias, + sym_import, + sym_definition, + sym_rule, + sym_assumption, + aux_sym_file_repeat1, + [2335] = 12, + ACTIONS(5), 1, + sym__whitespace, + ACTIONS(175), 1, + ts_builtin_sym_end, + ACTIONS(177), 1, + anon_sym_SEMI, + ACTIONS(180), 1, + sym_newline, + ACTIONS(183), 1, + sym_symbol, + ACTIONS(186), 1, + anon_sym_type, + ACTIONS(189), 1, + anon_sym_import, + ACTIONS(192), 1, + anon_sym_define, + ACTIONS(195), 1, + anon_sym_DASH, + ACTIONS(198), 1, + anon_sym_COLON_DASH, + ACTIONS(201), 1, + anon_sym_soft, + STATE(52), 7, + sym_comment, + sym_type_alias, + sym_import, + sym_definition, + sym_rule, + sym_assumption, + aux_sym_file_repeat1, + [2378] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(53), 1, + sym_comment, + ACTIONS(206), 4, + sym_symbol, + anon_sym_DASH, + anon_sym_True, + anon_sym_False, + ACTIONS(204), 7, + sym_variable, + anon_sym_0, + aux_sym_integer_token1, + anon_sym_LPAREN, + anon_sym__, + sym_aggregate_op, + anon_sym_BANG, + [2403] = 4, + ACTIONS(5), 1, + sym__whitespace, + ACTIONS(210), 1, + anon_sym_DOT, + STATE(54), 1, + sym_comment, + ACTIONS(208), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2425] = 4, + ACTIONS(5), 1, + sym__whitespace, + ACTIONS(210), 1, + anon_sym_DOT, + STATE(55), 1, + sym_comment, + ACTIONS(212), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2447] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(56), 1, + sym_comment, + ACTIONS(214), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2466] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(57), 1, + sym_comment, + ACTIONS(216), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2485] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(58), 1, + sym_comment, + ACTIONS(218), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2504] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(59), 1, + sym_comment, + ACTIONS(220), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2523] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(60), 1, + sym_comment, + ACTIONS(222), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2542] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(61), 1, + sym_comment, + ACTIONS(224), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2561] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(62), 1, + sym_comment, + ACTIONS(226), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2580] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(63), 1, + sym_comment, + ACTIONS(228), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2599] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(64), 1, + sym_comment, + ACTIONS(230), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2618] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(65), 1, + sym_comment, + ACTIONS(232), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2637] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(66), 1, + sym_comment, + ACTIONS(234), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2656] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(67), 1, + sym_comment, + ACTIONS(236), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2675] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(68), 1, + sym_comment, + ACTIONS(238), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2694] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(69), 1, + sym_comment, + ACTIONS(240), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2713] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(70), 1, + sym_comment, + ACTIONS(242), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2732] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(71), 1, + sym_comment, + ACTIONS(244), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2751] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(72), 1, + sym_comment, + ACTIONS(246), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2770] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(73), 1, + sym_comment, + ACTIONS(248), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2789] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(74), 1, + sym_comment, + ACTIONS(250), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2808] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(75), 1, + sym_comment, + ACTIONS(252), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2827] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(76), 1, + sym_comment, + ACTIONS(254), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2846] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(77), 1, + sym_comment, + ACTIONS(256), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2865] = 3, + ACTIONS(5), 1, + sym__whitespace, + STATE(78), 1, + sym_comment, + ACTIONS(258), 10, + ts_builtin_sym_end, + anon_sym_SEMI, + sym_newline, + sym_symbol, + anon_sym_type, + anon_sym_import, + anon_sym_define, + anon_sym_DASH, + anon_sym_COLON_DASH, + anon_sym_soft, + [2884] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(260), 1, + anon_sym_COMMA, + ACTIONS(263), 2, + anon_sym_DOT, + anon_sym_RBRACE, + STATE(79), 2, + sym_comment, + aux_sym_rule_body_repeat1, + [2902] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(145), 1, + anon_sym_COMMA, + STATE(79), 1, + aux_sym_rule_body_repeat1, + STATE(80), 1, + sym_comment, + ACTIONS(265), 2, + anon_sym_DOT, + anon_sym_RBRACE, + [2922] = 7, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(267), 1, + sym_symbol, + ACTIONS(269), 1, + anon_sym_LPAREN, + ACTIONS(271), 1, + anon_sym_RPAREN, + STATE(81), 1, + sym_comment, + STATE(111), 1, + sym_type, + [2944] = 7, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(273), 1, + sym_symbol, + ACTIONS(275), 1, + anon_sym_input, + ACTIONS(277), 1, + anon_sym_output, + ACTIONS(279), 1, + anon_sym_decision, + STATE(82), 1, + sym_comment, + [2966] = 7, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(267), 1, + sym_symbol, + ACTIONS(269), 1, + anon_sym_LPAREN, + ACTIONS(281), 1, + anon_sym_RPAREN, + STATE(83), 1, + sym_comment, + STATE(111), 1, + sym_type, + [2988] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(283), 1, + anon_sym_COMMA, + ACTIONS(286), 1, + anon_sym_RPAREN, + STATE(84), 2, + sym_comment, + aux_sym_import_repeat2, + [3005] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(267), 1, + sym_symbol, + ACTIONS(269), 1, + anon_sym_LPAREN, + STATE(85), 1, + sym_comment, + STATE(121), 1, + sym_type, + [3024] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(288), 1, + sym_symbol, + ACTIONS(290), 1, + anon_sym_LPAREN, + STATE(58), 1, + sym_type, + STATE(86), 1, + sym_comment, + [3043] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(288), 1, + sym_symbol, + ACTIONS(290), 1, + anon_sym_LPAREN, + STATE(63), 1, + sym_type, + STATE(87), 1, + sym_comment, + [3062] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(288), 1, + sym_symbol, + ACTIONS(290), 1, + anon_sym_LPAREN, + STATE(67), 1, + sym_type, + STATE(88), 1, + sym_comment, + [3081] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(288), 1, + sym_symbol, + ACTIONS(290), 1, + anon_sym_LPAREN, + STATE(68), 1, + sym_type, + STATE(89), 1, + sym_comment, + [3100] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(267), 1, + sym_symbol, + ACTIONS(269), 1, + anon_sym_LPAREN, + STATE(90), 1, + sym_comment, + STATE(109), 1, + sym_type, + [3119] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(288), 1, + sym_symbol, + ACTIONS(290), 1, + anon_sym_LPAREN, + STATE(62), 1, + sym_type, + STATE(91), 1, + sym_comment, + [3138] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(288), 1, + sym_symbol, + ACTIONS(290), 1, + anon_sym_LPAREN, + STATE(61), 1, + sym_type, + STATE(92), 1, + sym_comment, + [3157] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(288), 1, + sym_symbol, + ACTIONS(290), 1, + anon_sym_LPAREN, + STATE(60), 1, + sym_type, + STATE(93), 1, + sym_comment, + [3176] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(292), 1, + anon_sym_COMMA, + ACTIONS(295), 1, + anon_sym_RPAREN, + STATE(94), 2, + sym_comment, + aux_sym_tuple_repeat1, + [3193] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(288), 1, + sym_symbol, + ACTIONS(290), 1, + anon_sym_LPAREN, + STATE(65), 1, + sym_type, + STATE(95), 1, + sym_comment, + [3212] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(297), 1, + anon_sym_COMMA, + ACTIONS(299), 1, + anon_sym_RPAREN, + STATE(96), 1, + sym_comment, + STATE(100), 1, + aux_sym_import_repeat2, + [3231] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(301), 1, + anon_sym_COMMA, + ACTIONS(303), 1, + anon_sym_RPAREN, + STATE(97), 1, + sym_comment, + STATE(104), 1, + aux_sym_type_repeat1, + [3250] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(288), 1, + sym_symbol, + ACTIONS(290), 1, + anon_sym_LPAREN, + STATE(72), 1, + sym_type, + STATE(98), 1, + sym_comment, + [3269] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(305), 1, + sym_symbol, + ACTIONS(307), 1, + anon_sym_LBRACE, + STATE(31), 1, + sym_atom, + STATE(99), 1, + sym_comment, + [3288] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(297), 1, + anon_sym_COMMA, + ACTIONS(309), 1, + anon_sym_RPAREN, + STATE(84), 1, + aux_sym_import_repeat2, + STATE(100), 1, + sym_comment, + [3307] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(297), 1, + anon_sym_COMMA, + ACTIONS(311), 1, + anon_sym_RPAREN, + STATE(101), 1, + sym_comment, + STATE(105), 1, + aux_sym_import_repeat2, + [3326] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(313), 1, + anon_sym_COMMA, + ACTIONS(315), 1, + anon_sym_RPAREN, + STATE(94), 1, + aux_sym_tuple_repeat1, + STATE(102), 1, + sym_comment, + [3345] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(267), 1, + sym_symbol, + ACTIONS(269), 1, + anon_sym_LPAREN, + STATE(103), 1, + sym_comment, + STATE(111), 1, + sym_type, + [3364] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(317), 1, + anon_sym_COMMA, + ACTIONS(320), 1, + anon_sym_RPAREN, + STATE(104), 2, + sym_comment, + aux_sym_type_repeat1, + [3381] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(297), 1, + anon_sym_COMMA, + ACTIONS(322), 1, + anon_sym_RPAREN, + STATE(84), 1, + aux_sym_import_repeat2, + STATE(105), 1, + sym_comment, + [3400] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(106), 1, + sym_comment, + STATE(132), 1, + sym_integer, + ACTIONS(33), 2, + anon_sym_0, + aux_sym_integer_token1, + [3417] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(301), 1, + anon_sym_COMMA, + ACTIONS(324), 1, + anon_sym_RPAREN, + STATE(104), 1, + aux_sym_type_repeat1, + STATE(107), 1, + sym_comment, + [3436] = 6, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(326), 1, + sym_symbol, + ACTIONS(328), 1, + anon_sym_output, + ACTIONS(330), 1, + anon_sym_decision, + STATE(108), 1, + sym_comment, + [3455] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(332), 1, + anon_sym_COMMA, + STATE(97), 1, + aux_sym_type_repeat1, + STATE(109), 1, + sym_comment, + [3471] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(334), 1, + sym_symbol, + ACTIONS(336), 1, + anon_sym_LPAREN, + STATE(110), 1, + sym_comment, + [3487] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(111), 1, + sym_comment, + ACTIONS(338), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [3501] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(340), 1, + sym_symbol, + ACTIONS(342), 1, + anon_sym_LPAREN, + STATE(112), 1, + sym_comment, + [3517] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(344), 1, + anon_sym_DOT, + STATE(113), 1, + sym_comment, + STATE(120), 1, + aux_sym_import_repeat1, + [3533] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(114), 1, + sym_comment, + ACTIONS(346), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [3547] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(348), 1, + sym_symbol, + ACTIONS(350), 1, + anon_sym_decision, + STATE(115), 1, + sym_comment, + [3563] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(352), 1, + anon_sym_DOT, + STATE(113), 1, + aux_sym_import_repeat1, + STATE(116), 1, + sym_comment, + [3579] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(117), 1, + sym_comment, + ACTIONS(216), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [3593] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(118), 1, + sym_comment, + ACTIONS(242), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [3607] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + STATE(119), 1, + sym_comment, + ACTIONS(244), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [3621] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(354), 1, + anon_sym_DOT, + STATE(120), 2, + sym_comment, + aux_sym_import_repeat1, + [3635] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(357), 1, + anon_sym_COMMA, + STATE(107), 1, + aux_sym_type_repeat1, + STATE(121), 1, + sym_comment, + [3651] = 5, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(359), 1, + sym_symbol, + ACTIONS(361), 1, + anon_sym_decision, + STATE(122), 1, + sym_comment, + [3667] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(363), 1, + anon_sym_LPAREN, + STATE(123), 1, + sym_comment, + [3680] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(365), 1, + sym_symbol, + STATE(124), 1, + sym_comment, + [3693] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(367), 1, + sym_symbol, + STATE(125), 1, + sym_comment, + [3706] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(369), 1, + sym_symbol, + STATE(126), 1, + sym_comment, + [3719] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(371), 1, + anon_sym_RBRACE, + STATE(127), 1, + sym_comment, + [3732] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(373), 1, + anon_sym_COLON_DASH, + STATE(128), 1, + sym_comment, + [3745] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(375), 1, + sym_symbol, + STATE(129), 1, + sym_comment, + [3758] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(377), 1, + sym_symbol, + STATE(130), 1, + sym_comment, + [3771] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(379), 1, + anon_sym_DOT, + STATE(131), 1, + sym_comment, + [3784] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(381), 1, + anon_sym_RPAREN, + STATE(132), 1, + sym_comment, + [3797] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(383), 1, + anon_sym_DOT, + STATE(133), 1, + sym_comment, + [3810] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(385), 1, + anon_sym_DOT, + STATE(134), 1, + sym_comment, + [3823] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(387), 1, + sym_symbol, + STATE(135), 1, + sym_comment, + [3836] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(389), 1, + sym_symbol, + STATE(136), 1, + sym_comment, + [3849] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(391), 1, + anon_sym_EQ, + STATE(137), 1, + sym_comment, + [3862] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(393), 1, + anon_sym_DOT, + STATE(138), 1, + sym_comment, + [3875] = 4, + ACTIONS(5), 1, + sym__whitespace, + ACTIONS(395), 1, + anon_sym_SEMI, + ACTIONS(397), 1, + sym_commentInner, + STATE(139), 1, + sym_comment, + [3888] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(399), 1, + sym_symbol, + STATE(140), 1, + sym_comment, + [3901] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(401), 1, + ts_builtin_sym_end, + STATE(141), 1, + sym_comment, + [3914] = 4, + ACTIONS(5), 1, + sym__whitespace, + ACTIONS(395), 1, + anon_sym_SEMI, + ACTIONS(403), 1, + sym_commentInner, + STATE(142), 1, + sym_comment, + [3927] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(405), 1, + sym_symbol, + STATE(143), 1, + sym_comment, + [3940] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(407), 1, + sym_symbol, + STATE(144), 1, + sym_comment, + [3953] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(409), 1, + sym_symbol, + STATE(145), 1, + sym_comment, + [3966] = 4, + ACTIONS(3), 1, + anon_sym_SEMI, + ACTIONS(27), 1, + sym__whitespace, + ACTIONS(210), 1, + anon_sym_DOT, + STATE(146), 1, + sym_comment, + [3979] = 1, + ACTIONS(256), 1, + ts_builtin_sym_end, +}; + +static const uint32_t ts_small_parse_table_map[] = { + [SMALL_STATE(3)] = 0, + [SMALL_STATE(4)] = 71, + [SMALL_STATE(5)] = 142, + [SMALL_STATE(6)] = 213, + [SMALL_STATE(7)] = 284, + [SMALL_STATE(8)] = 355, + [SMALL_STATE(9)] = 426, + [SMALL_STATE(10)] = 494, + [SMALL_STATE(11)] = 560, + [SMALL_STATE(12)] = 628, + [SMALL_STATE(13)] = 696, + [SMALL_STATE(14)] = 764, + [SMALL_STATE(15)] = 832, + [SMALL_STATE(16)] = 900, + [SMALL_STATE(17)] = 968, + [SMALL_STATE(18)] = 1036, + [SMALL_STATE(19)] = 1104, + [SMALL_STATE(20)] = 1172, + [SMALL_STATE(21)] = 1240, + [SMALL_STATE(22)] = 1276, + [SMALL_STATE(23)] = 1308, + [SMALL_STATE(24)] = 1340, + [SMALL_STATE(25)] = 1372, + [SMALL_STATE(26)] = 1404, + [SMALL_STATE(27)] = 1436, + [SMALL_STATE(28)] = 1468, + [SMALL_STATE(29)] = 1500, + [SMALL_STATE(30)] = 1538, + [SMALL_STATE(31)] = 1570, + [SMALL_STATE(32)] = 1602, + [SMALL_STATE(33)] = 1634, + [SMALL_STATE(34)] = 1666, + [SMALL_STATE(35)] = 1704, + [SMALL_STATE(36)] = 1738, + [SMALL_STATE(37)] = 1770, + [SMALL_STATE(38)] = 1802, + [SMALL_STATE(39)] = 1844, + [SMALL_STATE(40)] = 1876, + [SMALL_STATE(41)] = 1908, + [SMALL_STATE(42)] = 1940, + [SMALL_STATE(43)] = 1972, + [SMALL_STATE(44)] = 2004, + [SMALL_STATE(45)] = 2036, + [SMALL_STATE(46)] = 2083, + [SMALL_STATE(47)] = 2127, + [SMALL_STATE(48)] = 2169, + [SMALL_STATE(49)] = 2210, + [SMALL_STATE(50)] = 2251, + [SMALL_STATE(51)] = 2290, + [SMALL_STATE(52)] = 2335, + [SMALL_STATE(53)] = 2378, + [SMALL_STATE(54)] = 2403, + [SMALL_STATE(55)] = 2425, + [SMALL_STATE(56)] = 2447, + [SMALL_STATE(57)] = 2466, + [SMALL_STATE(58)] = 2485, + [SMALL_STATE(59)] = 2504, + [SMALL_STATE(60)] = 2523, + [SMALL_STATE(61)] = 2542, + [SMALL_STATE(62)] = 2561, + [SMALL_STATE(63)] = 2580, + [SMALL_STATE(64)] = 2599, + [SMALL_STATE(65)] = 2618, + [SMALL_STATE(66)] = 2637, + [SMALL_STATE(67)] = 2656, + [SMALL_STATE(68)] = 2675, + [SMALL_STATE(69)] = 2694, + [SMALL_STATE(70)] = 2713, + [SMALL_STATE(71)] = 2732, + [SMALL_STATE(72)] = 2751, + [SMALL_STATE(73)] = 2770, + [SMALL_STATE(74)] = 2789, + [SMALL_STATE(75)] = 2808, + [SMALL_STATE(76)] = 2827, + [SMALL_STATE(77)] = 2846, + [SMALL_STATE(78)] = 2865, + [SMALL_STATE(79)] = 2884, + [SMALL_STATE(80)] = 2902, + [SMALL_STATE(81)] = 2922, + [SMALL_STATE(82)] = 2944, + [SMALL_STATE(83)] = 2966, + [SMALL_STATE(84)] = 2988, + [SMALL_STATE(85)] = 3005, + [SMALL_STATE(86)] = 3024, + [SMALL_STATE(87)] = 3043, + [SMALL_STATE(88)] = 3062, + [SMALL_STATE(89)] = 3081, + [SMALL_STATE(90)] = 3100, + [SMALL_STATE(91)] = 3119, + [SMALL_STATE(92)] = 3138, + [SMALL_STATE(93)] = 3157, + [SMALL_STATE(94)] = 3176, + [SMALL_STATE(95)] = 3193, + [SMALL_STATE(96)] = 3212, + [SMALL_STATE(97)] = 3231, + [SMALL_STATE(98)] = 3250, + [SMALL_STATE(99)] = 3269, + [SMALL_STATE(100)] = 3288, + [SMALL_STATE(101)] = 3307, + [SMALL_STATE(102)] = 3326, + [SMALL_STATE(103)] = 3345, + [SMALL_STATE(104)] = 3364, + [SMALL_STATE(105)] = 3381, + [SMALL_STATE(106)] = 3400, + [SMALL_STATE(107)] = 3417, + [SMALL_STATE(108)] = 3436, + [SMALL_STATE(109)] = 3455, + [SMALL_STATE(110)] = 3471, + [SMALL_STATE(111)] = 3487, + [SMALL_STATE(112)] = 3501, + [SMALL_STATE(113)] = 3517, + [SMALL_STATE(114)] = 3533, + [SMALL_STATE(115)] = 3547, + [SMALL_STATE(116)] = 3563, + [SMALL_STATE(117)] = 3579, + [SMALL_STATE(118)] = 3593, + [SMALL_STATE(119)] = 3607, + [SMALL_STATE(120)] = 3621, + [SMALL_STATE(121)] = 3635, + [SMALL_STATE(122)] = 3651, + [SMALL_STATE(123)] = 3667, + [SMALL_STATE(124)] = 3680, + [SMALL_STATE(125)] = 3693, + [SMALL_STATE(126)] = 3706, + [SMALL_STATE(127)] = 3719, + [SMALL_STATE(128)] = 3732, + [SMALL_STATE(129)] = 3745, + [SMALL_STATE(130)] = 3758, + [SMALL_STATE(131)] = 3771, + [SMALL_STATE(132)] = 3784, + [SMALL_STATE(133)] = 3797, + [SMALL_STATE(134)] = 3810, + [SMALL_STATE(135)] = 3823, + [SMALL_STATE(136)] = 3836, + [SMALL_STATE(137)] = 3849, + [SMALL_STATE(138)] = 3862, + [SMALL_STATE(139)] = 3875, + [SMALL_STATE(140)] = 3888, + [SMALL_STATE(141)] = 3901, + [SMALL_STATE(142)] = 3914, + [SMALL_STATE(143)] = 3927, + [SMALL_STATE(144)] = 3940, + [SMALL_STATE(145)] = 3953, + [SMALL_STATE(146)] = 3966, + [SMALL_STATE(147)] = 3979, +}; + +static const TSParseActionEntry ts_parse_actions[] = { + [0] = {.entry = {.count = 0, .reusable = false}}, + [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), + [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), + [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT_EXTRA(), + [7] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_file, 0, 0, 0), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), + [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), + [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), + [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT_EXTRA(), + [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(2), + [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), + [35] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1, 0, 2), + [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), + [39] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1, 0, 2), + [41] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53), + [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), + [45] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39), + [47] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40), + [49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [53] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), + [55] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_expr, 3, 0, 23), + [57] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_binary_expr, 3, 0, 23), + [59] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), + [61] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [63] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expr, 1, 0, 7), + [65] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expr, 1, 0, 7), + [67] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expr, 1, 0, 8), + [69] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expr, 1, 0, 8), + [71] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expr, 1, 0, 9), + [73] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expr, 1, 0, 9), + [75] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expr, 1, 0, 10), + [77] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expr, 1, 0, 10), + [79] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expr, 1, 0, 11), + [81] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expr, 1, 0, 11), + [83] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expr, 1, 0, 12), + [85] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expr, 1, 0, 12), + [87] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_integer, 1, 0, 0), + [89] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_integer, 1, 0, 0), + [91] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_atom, 2, 0, 14), + [93] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_atom, 2, 0, 14), + [95] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), + [97] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expr, 1, 0, 1), + [99] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expr, 1, 0, 1), + [101] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_aggregate, 2, 0, 15), + [103] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_aggregate, 2, 0, 15), + [105] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unary_expr, 2, 0, 17), + [107] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_unary_expr, 2, 0, 17), + [109] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expr, 3, 0, 22), + [111] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expr, 3, 0, 22), + [113] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expr, 1, 0, 3), + [115] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expr, 1, 0, 3), + [117] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), + [119] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14), + [121] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1, 0, 4), + [123] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1, 0, 4), + [125] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1, 0, 5), + [127] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1, 0, 5), + [129] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tuple, 4, 0, 34), + [131] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tuple, 4, 0, 34), + [133] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tuple, 4, 0, 35), + [135] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tuple, 4, 0, 35), + [137] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1, 0, 6), + [139] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1, 0, 6), + [141] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_aggregate, 4, 0, 37), + [143] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_aggregate, 4, 0, 37), + [145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), + [147] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_rule_body, 1, 0, 13), + [149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_rule_body, 1, 0, 13), + [151] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), + [153] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [157] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_rule_body_repeat1, 2, 0, 32), + [159] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_rule_body_repeat1, 2, 0, 32), + [161] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74), + [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), + [165] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66), + [167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), + [169] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_tuple_repeat1, 2, 0, 34), + [171] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_file, 1, 0, 0), + [173] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), + [175] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), + [177] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(142), + [180] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(52), + [183] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(9), + [186] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(136), + [189] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(124), + [192] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(82), + [195] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(130), + [198] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(3), + [201] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(123), + [204] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unary_op, 1, 0, 0), + [206] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_unary_op, 1, 0, 0), + [208] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import, 5, 0, 39), + [210] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_import_repeat1, 2, 0, 25), + [212] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import, 4, 0, 26), + [214] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import, 7, 0, 50), + [216] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 1, 0, 18), + [218] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_alias, 4, 0, 24), + [220] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assumption, 3, 0, 20), + [222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_definition, 4, 0, 29), + [224] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_definition, 4, 0, 28), + [226] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_definition, 3, 0, 19), + [228] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_definition, 5, 0, 40), + [230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_rule, 5, 0, 38), + [232] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_definition, 4, 0, 30), + [234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_rule, 4, 0, 31), + [236] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_definition, 5, 0, 41), + [238] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_definition, 5, 0, 42), + [240] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import, 6, 0, 43), + [242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 4, 0, 44), + [244] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 4, 0, 45), + [246] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_definition, 6, 0, 47), + [248] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_rule, 6, 0, 48), + [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_rule, 3, 0, 16), + [252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assumption, 7, 0, 53), + [254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import, 7, 0, 52), + [256] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2, 0, 0), + [258] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import, 8, 0, 54), + [260] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_rule_body_repeat1, 2, 0, 33), SHIFT_REPEAT(17), + [263] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_rule_body_repeat1, 2, 0, 33), + [265] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_rule_body, 2, 0, 21), + [267] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), + [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), + [271] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), + [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), + [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), + [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), + [279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), + [281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), + [283] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_import_repeat2, 2, 0, 51), SHIFT_REPEAT(140), + [286] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_import_repeat2, 2, 0, 51), + [288] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [290] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [292] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_tuple_repeat1, 2, 0, 36), SHIFT_REPEAT(20), + [295] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_tuple_repeat1, 2, 0, 36), + [297] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), + [299] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [301] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), + [303] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), + [305] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), + [307] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), + [309] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), + [311] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [313] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [315] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [317] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2, 0, 46), SHIFT_REPEAT(103), + [320] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2, 0, 46), + [322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), + [324] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), + [326] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), + [328] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), + [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), + [332] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), + [334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), + [336] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), + [338] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2, 0, 44), + [340] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [342] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), + [344] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), + [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_import_repeat2, 2, 0, 49), + [348] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [350] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), + [352] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), + [354] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_import_repeat1, 2, 0, 27), SHIFT_REPEAT(145), + [357] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83), + [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [361] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), + [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), + [365] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), + [367] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [369] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), + [371] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [373] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), + [375] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), + [377] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [379] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [381] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), + [383] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [385] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), + [387] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [389] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), + [391] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), + [393] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [395] = {.entry = {.count = 1, .reusable = false}}, SHIFT(139), + [397] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), + [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), + [401] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), + [405] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [407] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), + [409] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), +}; + +#ifdef __cplusplus +extern "C" { +#endif +#ifdef TREE_SITTER_HIDE_SYMBOLS +#define TS_PUBLIC +#elif defined(_WIN32) +#define TS_PUBLIC __declspec(dllexport) +#else +#define TS_PUBLIC __attribute__((visibility("default"))) +#endif + +TS_PUBLIC const TSLanguage *tree_sitter_kerolox(void) { + static const TSLanguage language = { + .abi_version = LANGUAGE_VERSION, + .symbol_count = SYMBOL_COUNT, + .alias_count = ALIAS_COUNT, + .token_count = TOKEN_COUNT, + .external_token_count = EXTERNAL_TOKEN_COUNT, + .state_count = STATE_COUNT, + .large_state_count = LARGE_STATE_COUNT, + .production_id_count = PRODUCTION_ID_COUNT, + .field_count = FIELD_COUNT, + .max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH, + .parse_table = &ts_parse_table[0][0], + .small_parse_table = ts_small_parse_table, + .small_parse_table_map = ts_small_parse_table_map, + .parse_actions = ts_parse_actions, + .symbol_names = ts_symbol_names, + .field_names = ts_field_names, + .field_map_slices = ts_field_map_slices, + .field_map_entries = ts_field_map_entries, + .symbol_metadata = ts_symbol_metadata, + .public_symbol_map = ts_symbol_map, + .alias_map = ts_non_terminal_alias_map, + .alias_sequences = &ts_alias_sequences[0][0], + .lex_modes = (const void*)ts_lex_modes, + .lex_fn = ts_lex, + .primary_state_ids = ts_primary_state_ids, + }; + return &language; +} +#ifdef __cplusplus +} +#endif diff --git a/tree-sitter-kerolox/src/tree_sitter/alloc.h b/tree-sitter-kerolox/src/tree_sitter/alloc.h new file mode 100644 index 0000000..1abdd12 --- /dev/null +++ b/tree-sitter-kerolox/src/tree_sitter/alloc.h @@ -0,0 +1,54 @@ +#ifndef TREE_SITTER_ALLOC_H_ +#define TREE_SITTER_ALLOC_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include +#include + +// Allow clients to override allocation functions +#ifdef TREE_SITTER_REUSE_ALLOCATOR + +extern void *(*ts_current_malloc)(size_t size); +extern void *(*ts_current_calloc)(size_t count, size_t size); +extern void *(*ts_current_realloc)(void *ptr, size_t size); +extern void (*ts_current_free)(void *ptr); + +#ifndef ts_malloc +#define ts_malloc ts_current_malloc +#endif +#ifndef ts_calloc +#define ts_calloc ts_current_calloc +#endif +#ifndef ts_realloc +#define ts_realloc ts_current_realloc +#endif +#ifndef ts_free +#define ts_free ts_current_free +#endif + +#else + +#ifndef ts_malloc +#define ts_malloc malloc +#endif +#ifndef ts_calloc +#define ts_calloc calloc +#endif +#ifndef ts_realloc +#define ts_realloc realloc +#endif +#ifndef ts_free +#define ts_free free +#endif + +#endif + +#ifdef __cplusplus +} +#endif + +#endif // TREE_SITTER_ALLOC_H_ diff --git a/tree-sitter-kerolox/src/tree_sitter/array.h b/tree-sitter-kerolox/src/tree_sitter/array.h new file mode 100644 index 0000000..56fc8cd --- /dev/null +++ b/tree-sitter-kerolox/src/tree_sitter/array.h @@ -0,0 +1,330 @@ +#ifndef TREE_SITTER_ARRAY_H_ +#define TREE_SITTER_ARRAY_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include "./alloc.h" + +#include +#include +#include +#include +#include + +#ifdef _MSC_VER +#pragma warning(push) +#pragma warning(disable : 4101) +#elif defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-variable" +#endif + +#define Array(T) \ + struct { \ + T *contents; \ + uint32_t size; \ + uint32_t capacity; \ + } + +/// Initialize an array. +#define array_init(self) \ + ((self)->size = 0, (self)->capacity = 0, (self)->contents = NULL) + +/// Create an empty array. +#define array_new() \ + { NULL, 0, 0 } + +/// Get a pointer to the element at a given `index` in the array. +#define array_get(self, _index) \ + (assert((uint32_t)(_index) < (self)->size), &(self)->contents[_index]) + +/// Get a pointer to the first element in the array. +#define array_front(self) array_get(self, 0) + +/// Get a pointer to the last element in the array. +#define array_back(self) array_get(self, (self)->size - 1) + +/// Clear the array, setting its size to zero. Note that this does not free any +/// memory allocated for the array's contents. +#define array_clear(self) ((self)->size = 0) + +/// Reserve `new_capacity` elements of space in the array. If `new_capacity` is +/// less than the array's current capacity, this function has no effect. +#define array_reserve(self, new_capacity) \ + ((self)->contents = _array__reserve( \ + (void *)(self)->contents, &(self)->capacity, \ + array_elem_size(self), new_capacity) \ + ) + +/// Free any memory allocated for this array. Note that this does not free any +/// memory allocated for the array's contents. +#define array_delete(self) \ + do { \ + if ((self)->contents) ts_free((self)->contents); \ + (self)->contents = NULL; \ + (self)->size = 0; \ + (self)->capacity = 0; \ + } while (0) + +/// Push a new `element` onto the end of the array. +#define array_push(self, element) \ + do { \ + (self)->contents = _array__grow( \ + (void *)(self)->contents, (self)->size, &(self)->capacity, \ + 1, array_elem_size(self) \ + ); \ + (self)->contents[(self)->size++] = (element); \ + } while(0) + +/// Increase the array's size by `count` elements. +/// New elements are zero-initialized. +#define array_grow_by(self, count) \ + do { \ + if ((count) == 0) break; \ + (self)->contents = _array__grow( \ + (self)->contents, (self)->size, &(self)->capacity, \ + count, array_elem_size(self) \ + ); \ + memset((self)->contents + (self)->size, 0, (count) * array_elem_size(self)); \ + (self)->size += (count); \ + } while (0) + +/// Append all elements from one array to the end of another. +#define array_push_all(self, other) \ + array_extend((self), (other)->size, (other)->contents) + +/// Append `count` elements to the end of the array, reading their values from the +/// `contents` pointer. +#define array_extend(self, count, other_contents) \ + (self)->contents = _array__splice( \ + (void*)(self)->contents, &(self)->size, &(self)->capacity, \ + array_elem_size(self), (self)->size, 0, count, other_contents \ + ) + +/// Remove `old_count` elements from the array starting at the given `index`. At +/// the same index, insert `new_count` new elements, reading their values from the +/// `new_contents` pointer. +#define array_splice(self, _index, old_count, new_count, new_contents) \ + (self)->contents = _array__splice( \ + (void *)(self)->contents, &(self)->size, &(self)->capacity, \ + array_elem_size(self), _index, old_count, new_count, new_contents \ + ) + +/// Insert one `element` into the array at the given `index`. +#define array_insert(self, _index, element) \ + (self)->contents = _array__splice( \ + (void *)(self)->contents, &(self)->size, &(self)->capacity, \ + array_elem_size(self), _index, 0, 1, &(element) \ + ) + +/// Remove one element from the array at the given `index`. +#define array_erase(self, _index) \ + _array__erase((void *)(self)->contents, &(self)->size, array_elem_size(self), _index) + +/// Pop the last element off the array, returning the element by value. +#define array_pop(self) ((self)->contents[--(self)->size]) + +/// Assign the contents of one array to another, reallocating if necessary. +#define array_assign(self, other) \ + (self)->contents = _array__assign( \ + (void *)(self)->contents, &(self)->size, &(self)->capacity, \ + (const void *)(other)->contents, (other)->size, array_elem_size(self) \ + ) + +/// Swap one array with another +#define array_swap(self, other) \ + do { \ + void *_array_swap_tmp = (void *)(self)->contents; \ + (self)->contents = (other)->contents; \ + (other)->contents = _array_swap_tmp; \ + _array__swap(&(self)->size, &(self)->capacity, \ + &(other)->size, &(other)->capacity); \ + } while (0) + +/// Get the size of the array contents +#define array_elem_size(self) (sizeof *(self)->contents) + +/// Search a sorted array for a given `needle` value, using the given `compare` +/// callback to determine the order. +/// +/// If an existing element is found to be equal to `needle`, then the `index` +/// out-parameter is set to the existing value's index, and the `exists` +/// out-parameter is set to true. Otherwise, `index` is set to an index where +/// `needle` should be inserted in order to preserve the sorting, and `exists` +/// is set to false. +#define array_search_sorted_with(self, compare, needle, _index, _exists) \ + _array__search_sorted(self, 0, compare, , needle, _index, _exists) + +/// Search a sorted array for a given `needle` value, using integer comparisons +/// of a given struct field (specified with a leading dot) to determine the order. +/// +/// See also `array_search_sorted_with`. +#define array_search_sorted_by(self, field, needle, _index, _exists) \ + _array__search_sorted(self, 0, _compare_int, field, needle, _index, _exists) + +/// Insert a given `value` into a sorted array, using the given `compare` +/// callback to determine the order. +#define array_insert_sorted_with(self, compare, value) \ + do { \ + unsigned _index, _exists; \ + array_search_sorted_with(self, compare, &(value), &_index, &_exists); \ + if (!_exists) array_insert(self, _index, value); \ + } while (0) + +/// Insert a given `value` into a sorted array, using integer comparisons of +/// a given struct field (specified with a leading dot) to determine the order. +/// +/// See also `array_search_sorted_by`. +#define array_insert_sorted_by(self, field, value) \ + do { \ + unsigned _index, _exists; \ + array_search_sorted_by(self, field, (value) field, &_index, &_exists); \ + if (!_exists) array_insert(self, _index, value); \ + } while (0) + +// Private + +// Pointers to individual `Array` fields (rather than the entire `Array` itself) +// are passed to the various `_array__*` functions below to address strict aliasing +// violations that arises when the _entire_ `Array` struct is passed as `Array(void)*`. +// +// The `Array` type itself was not altered as a solution in order to avoid breakage +// with existing consumers (in particular, parsers with external scanners). + +/// This is not what you're looking for, see `array_erase`. +static inline void _array__erase(void* self_contents, uint32_t *size, + size_t element_size, uint32_t index) { + assert(index < *size); + char *contents = (char *)self_contents; + memmove(contents + index * element_size, contents + (index + 1) * element_size, + (*size - index - 1) * element_size); + (*size)--; +} + +/// This is not what you're looking for, see `array_reserve`. +static inline void *_array__reserve(void *contents, uint32_t *capacity, + size_t element_size, uint32_t new_capacity) { + void *new_contents = contents; + if (new_capacity > *capacity) { + if (contents) { + new_contents = ts_realloc(contents, new_capacity * element_size); + } else { + new_contents = ts_malloc(new_capacity * element_size); + } + *capacity = new_capacity; + } + return new_contents; +} + +/// This is not what you're looking for, see `array_assign`. +static inline void *_array__assign(void* self_contents, uint32_t *self_size, uint32_t *self_capacity, + const void *other_contents, uint32_t other_size, size_t element_size) { + void *new_contents = _array__reserve(self_contents, self_capacity, element_size, other_size); + *self_size = other_size; + memcpy(new_contents, other_contents, *self_size * element_size); + return new_contents; +} + +/// This is not what you're looking for, see `array_swap`. +static inline void _array__swap(uint32_t *self_size, uint32_t *self_capacity, + uint32_t *other_size, uint32_t *other_capacity) { + uint32_t tmp_size = *self_size; + uint32_t tmp_capacity = *self_capacity; + *self_size = *other_size; + *self_capacity = *other_capacity; + *other_size = tmp_size; + *other_capacity = tmp_capacity; +} + +/// This is not what you're looking for, see `array_push` or `array_grow_by`. +static inline void *_array__grow(void *contents, uint32_t size, uint32_t *capacity, + uint32_t count, size_t element_size) { + void *new_contents = contents; + uint32_t new_size = size + count; + if (new_size > *capacity) { + uint32_t new_capacity = *capacity * 2; + if (new_capacity < 8) new_capacity = 8; + if (new_capacity < new_size) new_capacity = new_size; + new_contents = _array__reserve(contents, capacity, element_size, new_capacity); + } + return new_contents; +} + +/// This is not what you're looking for, see `array_splice`. +static inline void *_array__splice(void *self_contents, uint32_t *size, uint32_t *capacity, + size_t element_size, + uint32_t index, uint32_t old_count, + uint32_t new_count, const void *elements) { + uint32_t new_size = *size + new_count - old_count; + uint32_t old_end = index + old_count; + uint32_t new_end = index + new_count; + assert(old_end <= *size); + + void *new_contents = _array__reserve(self_contents, capacity, element_size, new_size); + + char *contents = (char *)new_contents; + if (*size > old_end) { + memmove( + contents + new_end * element_size, + contents + old_end * element_size, + (*size - old_end) * element_size + ); + } + if (new_count > 0) { + if (elements) { + memcpy( + (contents + index * element_size), + elements, + new_count * element_size + ); + } else { + memset( + (contents + index * element_size), + 0, + new_count * element_size + ); + } + } + *size += new_count - old_count; + + return new_contents; +} + +/// A binary search routine, based on Rust's `std::slice::binary_search_by`. +/// This is not what you're looking for, see `array_search_sorted_with` or `array_search_sorted_by`. +#define _array__search_sorted(self, start, compare, suffix, needle, _index, _exists) \ + do { \ + *(_index) = start; \ + *(_exists) = false; \ + uint32_t size = (self)->size - *(_index); \ + if (size == 0) break; \ + int comparison; \ + while (size > 1) { \ + uint32_t half_size = size / 2; \ + uint32_t mid_index = *(_index) + half_size; \ + comparison = compare(&((self)->contents[mid_index] suffix), (needle)); \ + if (comparison <= 0) *(_index) = mid_index; \ + size -= half_size; \ + } \ + comparison = compare(&((self)->contents[*(_index)] suffix), (needle)); \ + if (comparison == 0) *(_exists) = true; \ + else if (comparison < 0) *(_index) += 1; \ + } while (0) + +/// Helper macro for the `_sorted_by` routines below. This takes the left (existing) +/// parameter by reference in order to work with the generic sorting function above. +#define _compare_int(a, b) ((int)*(a) - (int)(b)) + +#ifdef _MSC_VER +#pragma warning(pop) +#elif defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic pop +#endif + +#ifdef __cplusplus +} +#endif + +#endif // TREE_SITTER_ARRAY_H_ diff --git a/tree-sitter-kerolox/src/tree_sitter/parser.h b/tree-sitter-kerolox/src/tree_sitter/parser.h new file mode 100644 index 0000000..858107d --- /dev/null +++ b/tree-sitter-kerolox/src/tree_sitter/parser.h @@ -0,0 +1,286 @@ +#ifndef TREE_SITTER_PARSER_H_ +#define TREE_SITTER_PARSER_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include +#include + +#define ts_builtin_sym_error ((TSSymbol)-1) +#define ts_builtin_sym_end 0 +#define TREE_SITTER_SERIALIZATION_BUFFER_SIZE 1024 + +#ifndef TREE_SITTER_API_H_ +typedef uint16_t TSStateId; +typedef uint16_t TSSymbol; +typedef uint16_t TSFieldId; +typedef struct TSLanguage TSLanguage; +typedef struct TSLanguageMetadata { + uint8_t major_version; + uint8_t minor_version; + uint8_t patch_version; +} TSLanguageMetadata; +#endif + +typedef struct { + TSFieldId field_id; + uint8_t child_index; + bool inherited; +} TSFieldMapEntry; + +// Used to index the field and supertype maps. +typedef struct { + uint16_t index; + uint16_t length; +} TSMapSlice; + +typedef struct { + bool visible; + bool named; + bool supertype; +} TSSymbolMetadata; + +typedef struct TSLexer TSLexer; + +struct TSLexer { + int32_t lookahead; + TSSymbol result_symbol; + void (*advance)(TSLexer *, bool); + void (*mark_end)(TSLexer *); + uint32_t (*get_column)(TSLexer *); + bool (*is_at_included_range_start)(const TSLexer *); + bool (*eof)(const TSLexer *); + void (*log)(const TSLexer *, const char *, ...); +}; + +typedef enum { + TSParseActionTypeShift, + TSParseActionTypeReduce, + TSParseActionTypeAccept, + TSParseActionTypeRecover, +} TSParseActionType; + +typedef union { + struct { + uint8_t type; + TSStateId state; + bool extra; + bool repetition; + } shift; + struct { + uint8_t type; + uint8_t child_count; + TSSymbol symbol; + int16_t dynamic_precedence; + uint16_t production_id; + } reduce; + uint8_t type; +} TSParseAction; + +typedef struct { + uint16_t lex_state; + uint16_t external_lex_state; +} TSLexMode; + +typedef struct { + uint16_t lex_state; + uint16_t external_lex_state; + uint16_t reserved_word_set_id; +} TSLexerMode; + +typedef union { + TSParseAction action; + struct { + uint8_t count; + bool reusable; + } entry; +} TSParseActionEntry; + +typedef struct { + int32_t start; + int32_t end; +} TSCharacterRange; + +struct TSLanguage { + uint32_t abi_version; + uint32_t symbol_count; + uint32_t alias_count; + uint32_t token_count; + uint32_t external_token_count; + uint32_t state_count; + uint32_t large_state_count; + uint32_t production_id_count; + uint32_t field_count; + uint16_t max_alias_sequence_length; + const uint16_t *parse_table; + const uint16_t *small_parse_table; + const uint32_t *small_parse_table_map; + const TSParseActionEntry *parse_actions; + const char * const *symbol_names; + const char * const *field_names; + const TSMapSlice *field_map_slices; + const TSFieldMapEntry *field_map_entries; + const TSSymbolMetadata *symbol_metadata; + const TSSymbol *public_symbol_map; + const uint16_t *alias_map; + const TSSymbol *alias_sequences; + const TSLexerMode *lex_modes; + bool (*lex_fn)(TSLexer *, TSStateId); + bool (*keyword_lex_fn)(TSLexer *, TSStateId); + TSSymbol keyword_capture_token; + struct { + const bool *states; + const TSSymbol *symbol_map; + void *(*create)(void); + void (*destroy)(void *); + bool (*scan)(void *, TSLexer *, const bool *symbol_whitelist); + unsigned (*serialize)(void *, char *); + void (*deserialize)(void *, const char *, unsigned); + } external_scanner; + const TSStateId *primary_state_ids; + const char *name; + const TSSymbol *reserved_words; + uint16_t max_reserved_word_set_size; + uint32_t supertype_count; + const TSSymbol *supertype_symbols; + const TSMapSlice *supertype_map_slices; + const TSSymbol *supertype_map_entries; + TSLanguageMetadata metadata; +}; + +static inline bool set_contains(const TSCharacterRange *ranges, uint32_t len, int32_t lookahead) { + uint32_t index = 0; + uint32_t size = len - index; + while (size > 1) { + uint32_t half_size = size / 2; + uint32_t mid_index = index + half_size; + const TSCharacterRange *range = &ranges[mid_index]; + if (lookahead >= range->start && lookahead <= range->end) { + return true; + } else if (lookahead > range->end) { + index = mid_index; + } + size -= half_size; + } + const TSCharacterRange *range = &ranges[index]; + return (lookahead >= range->start && lookahead <= range->end); +} + +/* + * Lexer Macros + */ + +#ifdef _MSC_VER +#define UNUSED __pragma(warning(suppress : 4101)) +#else +#define UNUSED __attribute__((unused)) +#endif + +#define START_LEXER() \ + bool result = false; \ + bool skip = false; \ + UNUSED \ + bool eof = false; \ + int32_t lookahead; \ + goto start; \ + next_state: \ + lexer->advance(lexer, skip); \ + start: \ + skip = false; \ + lookahead = lexer->lookahead; + +#define ADVANCE(state_value) \ + { \ + state = state_value; \ + goto next_state; \ + } + +#define ADVANCE_MAP(...) \ + { \ + static const uint16_t map[] = { __VA_ARGS__ }; \ + for (uint32_t i = 0; i < sizeof(map) / sizeof(map[0]); i += 2) { \ + if (map[i] == lookahead) { \ + state = map[i + 1]; \ + goto next_state; \ + } \ + } \ + } + +#define SKIP(state_value) \ + { \ + skip = true; \ + state = state_value; \ + goto next_state; \ + } + +#define ACCEPT_TOKEN(symbol_value) \ + result = true; \ + lexer->result_symbol = symbol_value; \ + lexer->mark_end(lexer); + +#define END_STATE() return result; + +/* + * Parse Table Macros + */ + +#define SMALL_STATE(id) ((id) - LARGE_STATE_COUNT) + +#define STATE(id) id + +#define ACTIONS(id) id + +#define SHIFT(state_value) \ + {{ \ + .shift = { \ + .type = TSParseActionTypeShift, \ + .state = (state_value) \ + } \ + }} + +#define SHIFT_REPEAT(state_value) \ + {{ \ + .shift = { \ + .type = TSParseActionTypeShift, \ + .state = (state_value), \ + .repetition = true \ + } \ + }} + +#define SHIFT_EXTRA() \ + {{ \ + .shift = { \ + .type = TSParseActionTypeShift, \ + .extra = true \ + } \ + }} + +#define REDUCE(symbol_name, children, precedence, prod_id) \ + {{ \ + .reduce = { \ + .type = TSParseActionTypeReduce, \ + .symbol = symbol_name, \ + .child_count = children, \ + .dynamic_precedence = precedence, \ + .production_id = prod_id \ + }, \ + }} + +#define RECOVER() \ + {{ \ + .type = TSParseActionTypeRecover \ + }} + +#define ACCEPT_INPUT() \ + {{ \ + .type = TSParseActionTypeAccept \ + }} + +#ifdef __cplusplus +} +#endif + +#endif // TREE_SITTER_PARSER_H_ diff --git a/tree-sitter-kerolox/tree-sitter.json b/tree-sitter-kerolox/tree-sitter.json new file mode 100644 index 0000000..43ebe33 --- /dev/null +++ b/tree-sitter-kerolox/tree-sitter.json @@ -0,0 +1,25 @@ +{ + "metadata": { + "version": "0.1.0", + "license": "AGPL-3.0-or-later" + }, + "bindings": { + "rust": true, + "c": false, + "go": false, + "node": false, + "python": false, + "swift": false + }, + "grammars": [ + { + "name": "kerolox", + "path": ".", + "scope": "source.kerolox", + "highlights": "queries/highlights.scm", + "file-types": [ + "rp1" + ] + } + ] +} diff --git a/vscode-ext/.gitignore b/vscode-ext/.gitignore new file mode 100644 index 0000000..6611928 --- /dev/null +++ b/vscode-ext/.gitignore @@ -0,0 +1,5 @@ +/dist +/out +/node_modules +.vscode-test +*.vsix diff --git a/vscode-ext/.vscodeignore b/vscode-ext/.vscodeignore new file mode 100644 index 0000000..db4b55a --- /dev/null +++ b/vscode-ext/.vscodeignore @@ -0,0 +1,7 @@ +.vscode +node_modules +out/ +src/ +tsconfig.json +webpack.config.js +esbuild.js diff --git a/vscode-ext/language-configuration.json b/vscode-ext/language-configuration.json new file mode 100644 index 0000000..46476b4 --- /dev/null +++ b/vscode-ext/language-configuration.json @@ -0,0 +1,29 @@ +{ + "comments": { + "lineComment": ";", + }, + "wordPattern": "[a-zA-Z][a-zA-Z0-9_]*", + "indentationRules": { + "increaseIndentPattern": ":-\\s*$", + "decreaseIndentPattern": "^\\s*\\." + }, + "brackets": [ + ["{", "}"], + ["[", "]"], + ["(", ")"] + ], + "autoClosingPairs": [ + ["{", "}"], + ["[", "]"], + ["(", ")"], + ["\"", "\""], + ["'", "'"] + ], + "surroundingPairs": [ + ["{", "}"], + ["[", "]"], + ["(", ")"], + ["\"", "\""], + ["'", "'"] + ] +} \ No newline at end of file diff --git a/vscode-ext/package-lock.json b/vscode-ext/package-lock.json new file mode 100644 index 0000000..55183c1 --- /dev/null +++ b/vscode-ext/package-lock.json @@ -0,0 +1,5665 @@ +{ + "name": "kerolox", + "version": "0.1.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "kerolox", + "version": "0.1.0", + "dependencies": { + "vscode-languageclient": "^9.0.0" + }, + "devDependencies": { + "@types/node": "^22", + "@types/vscode": "^1.90.0", + "@vscode/vsce": "^3.7.1", + "@wasm-tool/wasm-pack-plugin": "^1.7.0", + "stream-browserify": "^3.0.0", + "ts-loader": "^9.5.4", + "typescript": "^5.0.0", + "webpack": "^5.104.0", + "webpack-cli": "^6.0.1" + }, + "engines": { + "vscode": "^1.98.0" + } + }, + "node_modules/@azu/format-text": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@azu/format-text/-/format-text-1.0.2.tgz", + "integrity": "sha512-Swi4N7Edy1Eqq82GxgEECXSSLyn6GOb5htRFPzBDdUkECGXtlf12ynO5oJSpWKPwCaUssOu7NfhDcCWpIC6Ywg==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@azu/style-format": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@azu/style-format/-/style-format-1.0.1.tgz", + "integrity": "sha512-AHcTojlNBdD/3/KxIKlg8sxIWHfOtQszLvOpagLTO+bjC3u7SAszu1lf//u7JJC50aUSH+BVWDD/KvaA6Gfn5g==", + "dev": true, + "license": "WTFPL", + "dependencies": { + "@azu/format-text": "^1.0.1" + } + }, + "node_modules/@azure/abort-controller": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.1.2.tgz", + "integrity": "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA==", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@azure/core-auth": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.10.1.tgz", + "integrity": "sha512-ykRMW8PjVAn+RS6ww5cmK9U2CyH9p4Q88YJwvUslfuMmN98w/2rdGRLPqJYObapBCdzBVeDgYWdJnFPFb7qzpg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@azure/core-util": "^1.13.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/core-client": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@azure/core-client/-/core-client-1.10.1.tgz", + "integrity": "sha512-Nh5PhEOeY6PrnxNPsEHRr9eimxLwgLlpmguQaHKBinFYA/RU9+kOYVOQqOrTsCL+KSxrLLl1gD8Dk5BFW/7l/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@azure/core-auth": "^1.10.0", + "@azure/core-rest-pipeline": "^1.22.0", + "@azure/core-tracing": "^1.3.0", + "@azure/core-util": "^1.13.0", + "@azure/logger": "^1.3.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/core-rest-pipeline": { + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/@azure/core-rest-pipeline/-/core-rest-pipeline-1.22.2.tgz", + "integrity": "sha512-MzHym+wOi8CLUlKCQu12de0nwcq9k9Kuv43j4Wa++CsCpJwps2eeBQwD2Bu8snkxTtDKDx4GwjuR9E8yC8LNrg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@azure/core-auth": "^1.10.0", + "@azure/core-tracing": "^1.3.0", + "@azure/core-util": "^1.13.0", + "@azure/logger": "^1.3.0", + "@typespec/ts-http-runtime": "^0.3.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/core-tracing": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.3.1.tgz", + "integrity": "sha512-9MWKevR7Hz8kNzzPLfX4EAtGM2b8mr50HPDBvio96bURP/9C+HjdH3sBlLSNNrvRAr5/k/svoH457gB5IKpmwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/core-util": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/@azure/core-util/-/core-util-1.13.1.tgz", + "integrity": "sha512-XPArKLzsvl0Hf0CaGyKHUyVgF7oDnhKoP85Xv6M4StF/1AhfORhZudHtOyf2s+FcbuQ9dPRAjB8J2KvRRMUK2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@typespec/ts-http-runtime": "^0.3.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/identity": { + "version": "4.13.0", + "resolved": "https://registry.npmjs.org/@azure/identity/-/identity-4.13.0.tgz", + "integrity": "sha512-uWC0fssc+hs1TGGVkkghiaFkkS7NkTxfnCH+Hdg+yTehTpMcehpok4PgUKKdyCH+9ldu6FhiHRv84Ntqj1vVcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.0.0", + "@azure/core-auth": "^1.9.0", + "@azure/core-client": "^1.9.2", + "@azure/core-rest-pipeline": "^1.17.0", + "@azure/core-tracing": "^1.0.0", + "@azure/core-util": "^1.11.0", + "@azure/logger": "^1.0.0", + "@azure/msal-browser": "^4.2.0", + "@azure/msal-node": "^3.5.0", + "open": "^10.1.0", + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/logger": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@azure/logger/-/logger-1.3.0.tgz", + "integrity": "sha512-fCqPIfOcLE+CGqGPd66c8bZpwAji98tZ4JI9i/mlTNTlsIWslCfpg48s/ypyLxZTump5sypjrKn2/kY7q8oAbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typespec/ts-http-runtime": "^0.3.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/msal-browser": { + "version": "4.27.0", + "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-4.27.0.tgz", + "integrity": "sha512-bZ8Pta6YAbdd0o0PEaL1/geBsPrLEnyY/RDWqvF1PP9RUH8EMLvUMGoZFYS6jSlUan6KZ9IMTLCnwpWWpQRK/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/msal-common": "15.13.3" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@azure/msal-common": { + "version": "15.13.3", + "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-15.13.3.tgz", + "integrity": "sha512-shSDU7Ioecya+Aob5xliW9IGq1Ui8y4EVSdWGyI1Gbm4Vg61WpP95LuzcY214/wEjSn6w4PZYD4/iVldErHayQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@azure/msal-node": { + "version": "3.8.4", + "resolved": "https://registry.npmjs.org/@azure/msal-node/-/msal-node-3.8.4.tgz", + "integrity": "sha512-lvuAwsDpPDE/jSuVQOBMpLbXuVuLsPNRwWCyK3/6bPlBk0fGWegqoZ0qjZclMWyQ2JNvIY3vHY7hoFmFmFQcOw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/msal-common": "15.13.3", + "jsonwebtoken": "^9.0.0", + "uuid": "^8.3.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", + "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.27.1", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", + "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@discoveryjs/json-ext": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.6.3.tgz", + "integrity": "sha512-4B4OijXeVNOPZlYA2oEwWOTkzyltLao+xbotHQeqN++Rv27Y6s818+n2Qkp8q+Fxhn0t/5lA5X1Mxktud8eayQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.17.0" + } + }, + "node_modules/@isaacs/balanced-match": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz", + "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/@isaacs/brace-expansion": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz", + "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@isaacs/balanced-match": "^4.0.1" + }, + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/source-map": { + "version": "0.3.11", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.11.tgz", + "integrity": "sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@secretlint/config-creator": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/@secretlint/config-creator/-/config-creator-10.2.2.tgz", + "integrity": "sha512-BynOBe7Hn3LJjb3CqCHZjeNB09s/vgf0baBaHVw67w7gHF0d25c3ZsZ5+vv8TgwSchRdUCRrbbcq5i2B1fJ2QQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@secretlint/types": "^10.2.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@secretlint/config-loader": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/@secretlint/config-loader/-/config-loader-10.2.2.tgz", + "integrity": "sha512-ndjjQNgLg4DIcMJp4iaRD6xb9ijWQZVbd9694Ol2IszBIbGPPkwZHzJYKICbTBmh6AH/pLr0CiCaWdGJU7RbpQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@secretlint/profiler": "^10.2.2", + "@secretlint/resolver": "^10.2.2", + "@secretlint/types": "^10.2.2", + "ajv": "^8.17.1", + "debug": "^4.4.1", + "rc-config-loader": "^4.1.3" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@secretlint/core": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/@secretlint/core/-/core-10.2.2.tgz", + "integrity": "sha512-6rdwBwLP9+TO3rRjMVW1tX+lQeo5gBbxl1I5F8nh8bgGtKwdlCMhMKsBWzWg1ostxx/tIG7OjZI0/BxsP8bUgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@secretlint/profiler": "^10.2.2", + "@secretlint/types": "^10.2.2", + "debug": "^4.4.1", + "structured-source": "^4.0.0" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@secretlint/formatter": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/@secretlint/formatter/-/formatter-10.2.2.tgz", + "integrity": "sha512-10f/eKV+8YdGKNQmoDUD1QnYL7TzhI2kzyx95vsJKbEa8akzLAR5ZrWIZ3LbcMmBLzxlSQMMccRmi05yDQ5YDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@secretlint/resolver": "^10.2.2", + "@secretlint/types": "^10.2.2", + "@textlint/linter-formatter": "^15.2.0", + "@textlint/module-interop": "^15.2.0", + "@textlint/types": "^15.2.0", + "chalk": "^5.4.1", + "debug": "^4.4.1", + "pluralize": "^8.0.0", + "strip-ansi": "^7.1.0", + "table": "^6.9.0", + "terminal-link": "^4.0.0" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@secretlint/formatter/node_modules/chalk": { + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", + "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@secretlint/node": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/@secretlint/node/-/node-10.2.2.tgz", + "integrity": "sha512-eZGJQgcg/3WRBwX1bRnss7RmHHK/YlP/l7zOQsrjexYt6l+JJa5YhUmHbuGXS94yW0++3YkEJp0kQGYhiw1DMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@secretlint/config-loader": "^10.2.2", + "@secretlint/core": "^10.2.2", + "@secretlint/formatter": "^10.2.2", + "@secretlint/profiler": "^10.2.2", + "@secretlint/source-creator": "^10.2.2", + "@secretlint/types": "^10.2.2", + "debug": "^4.4.1", + "p-map": "^7.0.3" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@secretlint/profiler": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/@secretlint/profiler/-/profiler-10.2.2.tgz", + "integrity": "sha512-qm9rWfkh/o8OvzMIfY8a5bCmgIniSpltbVlUVl983zDG1bUuQNd1/5lUEeWx5o/WJ99bXxS7yNI4/KIXfHexig==", + "dev": true, + "license": "MIT" + }, + "node_modules/@secretlint/resolver": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/@secretlint/resolver/-/resolver-10.2.2.tgz", + "integrity": "sha512-3md0cp12e+Ae5V+crPQYGd6aaO7ahw95s28OlULGyclyyUtf861UoRGS2prnUrKh7MZb23kdDOyGCYb9br5e4w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@secretlint/secretlint-formatter-sarif": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/@secretlint/secretlint-formatter-sarif/-/secretlint-formatter-sarif-10.2.2.tgz", + "integrity": "sha512-ojiF9TGRKJJw308DnYBucHxkpNovDNu1XvPh7IfUp0A12gzTtxuWDqdpuVezL7/IP8Ua7mp5/VkDMN9OLp1doQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "node-sarif-builder": "^3.2.0" + } + }, + "node_modules/@secretlint/secretlint-rule-no-dotenv": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/@secretlint/secretlint-rule-no-dotenv/-/secretlint-rule-no-dotenv-10.2.2.tgz", + "integrity": "sha512-KJRbIShA9DVc5Va3yArtJ6QDzGjg3PRa1uYp9As4RsyKtKSSZjI64jVca57FZ8gbuk4em0/0Jq+uy6485wxIdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@secretlint/types": "^10.2.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@secretlint/secretlint-rule-preset-recommend": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/@secretlint/secretlint-rule-preset-recommend/-/secretlint-rule-preset-recommend-10.2.2.tgz", + "integrity": "sha512-K3jPqjva8bQndDKJqctnGfwuAxU2n9XNCPtbXVI5JvC7FnQiNg/yWlQPbMUlBXtBoBGFYp08A94m6fvtc9v+zA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@secretlint/source-creator": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/@secretlint/source-creator/-/source-creator-10.2.2.tgz", + "integrity": "sha512-h6I87xJfwfUTgQ7irWq7UTdq/Bm1RuQ/fYhA3dtTIAop5BwSFmZyrchph4WcoEvbN460BWKmk4RYSvPElIIvxw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@secretlint/types": "^10.2.2", + "istextorbinary": "^9.5.0" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@secretlint/types": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/@secretlint/types/-/types-10.2.2.tgz", + "integrity": "sha512-Nqc90v4lWCXyakD6xNyNACBJNJ0tNCwj2WNk/7ivyacYHxiITVgmLUFXTBOeCdy79iz6HtN9Y31uw/jbLrdOAg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@textlint/ast-node-types": { + "version": "15.5.0", + "resolved": "https://registry.npmjs.org/@textlint/ast-node-types/-/ast-node-types-15.5.0.tgz", + "integrity": "sha512-K0LEuuTo4rza8yDrlYkRdXLao8Iz/QBMsQdIxRrOOrLYb4HAtZaypZ78c+J6rDA1UlGxadZVLmkkiv4KV5fMKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@textlint/linter-formatter": { + "version": "15.5.0", + "resolved": "https://registry.npmjs.org/@textlint/linter-formatter/-/linter-formatter-15.5.0.tgz", + "integrity": "sha512-DPTm2+VXKID41qKQWagg/4JynM6hEEpvbq0PlGsEoC4Xm7IqXIxFym3mSf5+ued0cuiIV1hR9kgXjqGdP035tw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azu/format-text": "^1.0.2", + "@azu/style-format": "^1.0.1", + "@textlint/module-interop": "15.5.0", + "@textlint/resolver": "15.5.0", + "@textlint/types": "15.5.0", + "chalk": "^4.1.2", + "debug": "^4.4.3", + "js-yaml": "^4.1.1", + "lodash": "^4.17.21", + "pluralize": "^2.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "table": "^6.9.0", + "text-table": "^0.2.0" + } + }, + "node_modules/@textlint/linter-formatter/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@textlint/linter-formatter/node_modules/pluralize": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-2.0.0.tgz", + "integrity": "sha512-TqNZzQCD4S42De9IfnnBvILN7HAW7riLqsCyp8lgjXeysyPlX5HhqKAcJHHHb9XskE4/a+7VGC9zzx8Ls0jOAw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@textlint/linter-formatter/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@textlint/module-interop": { + "version": "15.5.0", + "resolved": "https://registry.npmjs.org/@textlint/module-interop/-/module-interop-15.5.0.tgz", + "integrity": "sha512-rqfouEhBEgZlR9umswWXXRBcmmSM28Trpr9b0duzgehKYVc7wSQCuQMagr6YBJa2NRMfRNinupusbJXMg0ij2A==", + "dev": true, + "license": "MIT" + }, + "node_modules/@textlint/resolver": { + "version": "15.5.0", + "resolved": "https://registry.npmjs.org/@textlint/resolver/-/resolver-15.5.0.tgz", + "integrity": "sha512-kK5nFbg5N3kVoZExQI/dnYjCInmTltvXDnuCRrBxHI01i6kO/o8R7Lc2aFkAZ6/NUZuRPalkyDdwZJke4/R2wg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@textlint/types": { + "version": "15.5.0", + "resolved": "https://registry.npmjs.org/@textlint/types/-/types-15.5.0.tgz", + "integrity": "sha512-EjAPbuA+3NyQ9WyFP7iUlddi35F3mGrf4tb4cZM0nWywbtEJ3+XAYqL+5RsF0qFeSguxGir09NdZOWrG9wVOUQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@textlint/ast-node-types": "15.5.0" + } + }, + "node_modules/@types/eslint": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz", + "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "node_modules/@types/eslint-scope": { + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", + "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/eslint": "*", + "@types/estree": "*" + } + }, + "node_modules/@types/estree": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", + "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "22.19.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.3.tgz", + "integrity": "sha512-1N9SBnWYOJTrNZCdh/yJE+t910Y128BoyY+zBLWhL3r0TYzlTmFdXrPwHL9DyFZmlEXNQQolTZh3KHV31QDhyA==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~6.21.0" + } + }, + "node_modules/@types/normalize-package-data": { + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", + "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/sarif": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/@types/sarif/-/sarif-2.1.7.tgz", + "integrity": "sha512-kRz0VEkJqWLf1LLVN4pT1cg1Z9wAuvI6L97V3m2f5B76Tg8d413ddvLBPTEHAZJlnn4XSvu0FkZtViCQGVyrXQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/vscode": { + "version": "1.107.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.107.0.tgz", + "integrity": "sha512-XS8YE1jlyTIowP64+HoN30OlC1H9xqSlq1eoLZUgFEC8oUTO6euYZxti1xRiLSfZocs4qytTzR6xCBYtioQTCg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@typespec/ts-http-runtime": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@typespec/ts-http-runtime/-/ts-http-runtime-0.3.2.tgz", + "integrity": "sha512-IlqQ/Gv22xUC1r/WQm4StLkYQmaaTsXAhUVsNE0+xiyf0yRFiH5++q78U3bw6bLKDCTmh0uqKB9eG9+Bt75Dkg==", + "dev": true, + "license": "MIT", + "dependencies": { + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@vscode/vsce": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/@vscode/vsce/-/vsce-3.7.1.tgz", + "integrity": "sha512-OTm2XdMt2YkpSn2Nx7z2EJtSuhRHsTPYsSK59hr3v8jRArK+2UEoju4Jumn1CmpgoBLGI6ReHLJ/czYltNUW3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/identity": "^4.1.0", + "@secretlint/node": "^10.1.2", + "@secretlint/secretlint-formatter-sarif": "^10.1.2", + "@secretlint/secretlint-rule-no-dotenv": "^10.1.2", + "@secretlint/secretlint-rule-preset-recommend": "^10.1.2", + "@vscode/vsce-sign": "^2.0.0", + "azure-devops-node-api": "^12.5.0", + "chalk": "^4.1.2", + "cheerio": "^1.0.0-rc.9", + "cockatiel": "^3.1.2", + "commander": "^12.1.0", + "form-data": "^4.0.0", + "glob": "^11.0.0", + "hosted-git-info": "^4.0.2", + "jsonc-parser": "^3.2.0", + "leven": "^3.1.0", + "markdown-it": "^14.1.0", + "mime": "^1.3.4", + "minimatch": "^3.0.3", + "parse-semver": "^1.1.1", + "read": "^1.0.7", + "secretlint": "^10.1.2", + "semver": "^7.5.2", + "tmp": "^0.2.3", + "typed-rest-client": "^1.8.4", + "url-join": "^4.0.1", + "xml2js": "^0.5.0", + "yauzl": "^2.3.1", + "yazl": "^2.2.2" + }, + "bin": { + "vsce": "vsce" + }, + "engines": { + "node": ">= 20" + }, + "optionalDependencies": { + "keytar": "^7.7.0" + } + }, + "node_modules/@vscode/vsce-sign": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign/-/vsce-sign-2.0.9.tgz", + "integrity": "sha512-8IvaRvtFyzUnGGl3f5+1Cnor3LqaUWvhaUjAYO8Y39OUYlOf3cRd+dowuQYLpZcP3uwSG+mURwjEBOSq4SOJ0g==", + "dev": true, + "hasInstallScript": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optionalDependencies": { + "@vscode/vsce-sign-alpine-arm64": "2.0.6", + "@vscode/vsce-sign-alpine-x64": "2.0.6", + "@vscode/vsce-sign-darwin-arm64": "2.0.6", + "@vscode/vsce-sign-darwin-x64": "2.0.6", + "@vscode/vsce-sign-linux-arm": "2.0.6", + "@vscode/vsce-sign-linux-arm64": "2.0.6", + "@vscode/vsce-sign-linux-x64": "2.0.6", + "@vscode/vsce-sign-win32-arm64": "2.0.6", + "@vscode/vsce-sign-win32-x64": "2.0.6" + } + }, + "node_modules/@vscode/vsce-sign-alpine-arm64": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-alpine-arm64/-/vsce-sign-alpine-arm64-2.0.6.tgz", + "integrity": "sha512-wKkJBsvKF+f0GfsUuGT0tSW0kZL87QggEiqNqK6/8hvqsXvpx8OsTEc3mnE1kejkh5r+qUyQ7PtF8jZYN0mo8Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "alpine" + ] + }, + "node_modules/@vscode/vsce-sign-alpine-x64": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-alpine-x64/-/vsce-sign-alpine-x64-2.0.6.tgz", + "integrity": "sha512-YoAGlmdK39vKi9jA18i4ufBbd95OqGJxRvF3n6ZbCyziwy3O+JgOpIUPxv5tjeO6gQfx29qBivQ8ZZTUF2Ba0w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "alpine" + ] + }, + "node_modules/@vscode/vsce-sign-darwin-arm64": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-darwin-arm64/-/vsce-sign-darwin-arm64-2.0.6.tgz", + "integrity": "sha512-5HMHaJRIQuozm/XQIiJiA0W9uhdblwwl2ZNDSSAeXGO9YhB9MH5C4KIHOmvyjUnKy4UCuiP43VKpIxW1VWP4tQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@vscode/vsce-sign-darwin-x64": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-darwin-x64/-/vsce-sign-darwin-x64-2.0.6.tgz", + "integrity": "sha512-25GsUbTAiNfHSuRItoQafXOIpxlYj+IXb4/qarrXu7kmbH94jlm5sdWSCKrrREs8+GsXF1b+l3OB7VJy5jsykw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@vscode/vsce-sign-linux-arm": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-linux-arm/-/vsce-sign-linux-arm-2.0.6.tgz", + "integrity": "sha512-UndEc2Xlq4HsuMPnwu7420uqceXjs4yb5W8E2/UkaHBB9OWCwMd3/bRe/1eLe3D8kPpxzcaeTyXiK3RdzS/1CA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@vscode/vsce-sign-linux-arm64": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-linux-arm64/-/vsce-sign-linux-arm64-2.0.6.tgz", + "integrity": "sha512-cfb1qK7lygtMa4NUl2582nP7aliLYuDEVpAbXJMkDq1qE+olIw/es+C8j1LJwvcRq1I2yWGtSn3EkDp9Dq5FdA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@vscode/vsce-sign-linux-x64": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-linux-x64/-/vsce-sign-linux-x64-2.0.6.tgz", + "integrity": "sha512-/olerl1A4sOqdP+hjvJ1sbQjKN07Y3DVnxO4gnbn/ahtQvFrdhUi0G1VsZXDNjfqmXw57DmPi5ASnj/8PGZhAA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@vscode/vsce-sign-win32-arm64": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-win32-arm64/-/vsce-sign-win32-arm64-2.0.6.tgz", + "integrity": "sha512-ivM/MiGIY0PJNZBoGtlRBM/xDpwbdlCWomUWuLmIxbi1Cxe/1nooYrEQoaHD8ojVRgzdQEUzMsRbyF5cJJgYOg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@vscode/vsce-sign-win32-x64": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-win32-x64/-/vsce-sign-win32-x64-2.0.6.tgz", + "integrity": "sha512-mgth9Kvze+u8CruYMmhHw6Zgy3GRX2S+Ed5oSokDEK5vPEwGGKnmuXua9tmFhomeAnhgJnL4DCna3TiNuGrBTQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@wasm-tool/wasm-pack-plugin": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@wasm-tool/wasm-pack-plugin/-/wasm-pack-plugin-1.7.0.tgz", + "integrity": "sha512-WikzYsw7nTd5CZxH75h7NxM/FLJAgqfWt+/gk3EL3wYKxiIlpMIYPja+sHQl3ARiicIYy4BDfxkbAVjRYlouTA==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^2.4.1", + "command-exists": "^1.2.7", + "watchpack": "^2.1.1", + "which": "^2.0.2" + } + }, + "node_modules/@wasm-tool/wasm-pack-plugin/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@wasm-tool/wasm-pack-plugin/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@wasm-tool/wasm-pack-plugin/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/@wasm-tool/wasm-pack-plugin/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@wasm-tool/wasm-pack-plugin/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/@wasm-tool/wasm-pack-plugin/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@webassemblyjs/ast": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz", + "integrity": "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/helper-numbers": "1.13.2", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2" + } + }, + "node_modules/@webassemblyjs/floating-point-hex-parser": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz", + "integrity": "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@webassemblyjs/helper-api-error": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz", + "integrity": "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@webassemblyjs/helper-buffer": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz", + "integrity": "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@webassemblyjs/helper-numbers": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz", + "integrity": "sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/floating-point-hex-parser": "1.13.2", + "@webassemblyjs/helper-api-error": "1.13.2", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/helper-wasm-bytecode": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz", + "integrity": "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@webassemblyjs/helper-wasm-section": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz", + "integrity": "sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/wasm-gen": "1.14.1" + } + }, + "node_modules/@webassemblyjs/ieee754": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz", + "integrity": "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "node_modules/@webassemblyjs/leb128": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.13.2.tgz", + "integrity": "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/utf8": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.13.2.tgz", + "integrity": "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@webassemblyjs/wasm-edit": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz", + "integrity": "sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/helper-wasm-section": "1.14.1", + "@webassemblyjs/wasm-gen": "1.14.1", + "@webassemblyjs/wasm-opt": "1.14.1", + "@webassemblyjs/wasm-parser": "1.14.1", + "@webassemblyjs/wast-printer": "1.14.1" + } + }, + "node_modules/@webassemblyjs/wasm-gen": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz", + "integrity": "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/ieee754": "1.13.2", + "@webassemblyjs/leb128": "1.13.2", + "@webassemblyjs/utf8": "1.13.2" + } + }, + "node_modules/@webassemblyjs/wasm-opt": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz", + "integrity": "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/wasm-gen": "1.14.1", + "@webassemblyjs/wasm-parser": "1.14.1" + } + }, + "node_modules/@webassemblyjs/wasm-parser": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz", + "integrity": "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-api-error": "1.13.2", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/ieee754": "1.13.2", + "@webassemblyjs/leb128": "1.13.2", + "@webassemblyjs/utf8": "1.13.2" + } + }, + "node_modules/@webassemblyjs/wast-printer": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz", + "integrity": "sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webpack-cli/configtest": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-3.0.1.tgz", + "integrity": "sha512-u8d0pJ5YFgneF/GuvEiDA61Tf1VDomHHYMjv/wc9XzYj7nopltpG96nXN5dJRstxZhcNpV1g+nT6CydO7pHbjA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12.0" + }, + "peerDependencies": { + "webpack": "^5.82.0", + "webpack-cli": "6.x.x" + } + }, + "node_modules/@webpack-cli/info": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-3.0.1.tgz", + "integrity": "sha512-coEmDzc2u/ffMvuW9aCjoRzNSPDl/XLuhPdlFRpT9tZHmJ/039az33CE7uH+8s0uL1j5ZNtfdv0HkfaKRBGJsQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12.0" + }, + "peerDependencies": { + "webpack": "^5.82.0", + "webpack-cli": "6.x.x" + } + }, + "node_modules/@webpack-cli/serve": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-3.0.1.tgz", + "integrity": "sha512-sbgw03xQaCLiT6gcY/6u3qBDn01CWw/nbaXl3gTdTFuJJ75Gffv3E3DBpgvY2fkkrdS1fpjaXNOmJlnbtKauKg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12.0" + }, + "peerDependencies": { + "webpack": "^5.82.0", + "webpack-cli": "6.x.x" + }, + "peerDependenciesMeta": { + "webpack-dev-server": { + "optional": true + } + } + }, + "node_modules/@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/acorn": { + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", + "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-import-phases": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/acorn-import-phases/-/acorn-import-phases-1.0.4.tgz", + "integrity": "sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.13.0" + }, + "peerDependencies": { + "acorn": "^8.14.0" + } + }, + "node_modules/agent-base": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, + "node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ajv-keywords": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" + } + }, + "node_modules/ansi-escapes": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.2.0.tgz", + "integrity": "sha512-g6LhBsl+GBPRWGWsBtutpzBYuIIdBkLEvad5C/va/74Db018+5TZiyA26cZJAr3Rft5lprVqOIPxf5Vid6tqAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "environment": "^1.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", + "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/azure-devops-node-api": { + "version": "12.5.0", + "resolved": "https://registry.npmjs.org/azure-devops-node-api/-/azure-devops-node-api-12.5.0.tgz", + "integrity": "sha512-R5eFskGvOm3U/GzeAuxRkUsAl0hrAwGgWn6zAd2KrZmrEhWZVqLew4OOupbQlXUuojUzpGtq62SmdhJ06N88og==", + "dev": true, + "license": "MIT", + "dependencies": { + "tunnel": "0.0.6", + "typed-rest-client": "^1.8.4" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "license": "MIT" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true + }, + "node_modules/baseline-browser-mapping": { + "version": "2.9.11", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.11.tgz", + "integrity": "sha512-Sg0xJUNDU1sJNGdfGWhVHX0kkZ+HWcvmVymJbj6NSgZZmW/8S9Y2HQ5euytnIgakgxN6papOAWiwDo1ctFDcoQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.js" + } + }, + "node_modules/binaryextensions": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/binaryextensions/-/binaryextensions-6.11.0.tgz", + "integrity": "sha512-sXnYK/Ij80TO3lcqZVV2YgfKN5QjUWIRk/XSm2J/4bd/lPko3lvk0O4ZppH6m+6hB2/GTu+ptNwVFe1xh+QLQw==", + "dev": true, + "license": "Artistic-2.0", + "dependencies": { + "editions": "^6.21.0" + }, + "engines": { + "node": ">=4" + }, + "funding": { + "url": "https://bevry.me/fund" + } + }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "node_modules/boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", + "dev": true, + "license": "ISC" + }, + "node_modules/boundary": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/boundary/-/boundary-2.0.0.tgz", + "integrity": "sha512-rJKn5ooC9u8q13IMCrW0RSp31pxBCHE3y9V/tp3TdWSLf8Em3p6Di4NBpfzbJge9YjjFEsD0RtFEjtvHL5VyEA==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/brace-expansion": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz", + "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "baseline-browser-mapping": "^2.9.0", + "caniuse-lite": "^1.0.30001759", + "electron-to-chromium": "^1.5.263", + "node-releases": "^2.0.27", + "update-browserslist-db": "^1.2.0" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/bundle-name": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.0.tgz", + "integrity": "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "run-applescript": "^7.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001761", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001761.tgz", + "integrity": "sha512-JF9ptu1vP2coz98+5051jZ4PwQgd2ni8A+gYSN7EA7dPKIMf0pDlSUxhdmVOaV3/fYK5uWBkgSXJaRLr4+3A6g==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/cheerio": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.1.2.tgz", + "integrity": "sha512-IkxPpb5rS/d1IiLbHMgfPuS0FgiWTtFIm/Nj+2woXDLTZ7fOT2eqzgYbdMlLweqlHbsZjxEChoVK+7iph7jyQg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cheerio-select": "^2.1.0", + "dom-serializer": "^2.0.0", + "domhandler": "^5.0.3", + "domutils": "^3.2.2", + "encoding-sniffer": "^0.2.1", + "htmlparser2": "^10.0.0", + "parse5": "^7.3.0", + "parse5-htmlparser2-tree-adapter": "^7.1.0", + "parse5-parser-stream": "^7.1.2", + "undici": "^7.12.0", + "whatwg-mimetype": "^4.0.0" + }, + "engines": { + "node": ">=20.18.1" + }, + "funding": { + "url": "https://github.com/cheeriojs/cheerio?sponsor=1" + } + }, + "node_modules/cheerio-select": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cheerio-select/-/cheerio-select-2.1.0.tgz", + "integrity": "sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0", + "css-select": "^5.1.0", + "css-what": "^6.1.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "dev": true, + "license": "ISC", + "optional": true + }, + "node_modules/chrome-trace-event": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz", + "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0" + } + }, + "node_modules/clone-deep": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", + "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/cockatiel": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/cockatiel/-/cockatiel-3.2.1.tgz", + "integrity": "sha512-gfrHV6ZPkquExvMh9IOkKsBzNDk6sDuZ6DdBGUBkvFnTCqCxzpuq48RySgP0AnaqQkw2zynOFj9yly6T1Q2G5Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/colorette": { + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", + "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", + "dev": true, + "license": "MIT" + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/command-exists": { + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/command-exists/-/command-exists-1.2.9.tgz", + "integrity": "sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w==", + "dev": true, + "license": "MIT" + }, + "node_modules/commander": { + "version": "12.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", + "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/css-select": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.2.2.tgz", + "integrity": "sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^6.1.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "nth-check": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/css-what": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.2.2.tgz", + "integrity": "sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decompress-response": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", + "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "mimic-response": "^3.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/default-browser": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.4.0.tgz", + "integrity": "sha512-XDuvSq38Hr1MdN47EDvYtx3U0MTqpCEn+F6ft8z2vYDzMrvQhVp0ui9oQdqW3MvK3vqUETglt1tVGgjLuJ5izg==", + "dev": true, + "license": "MIT", + "dependencies": { + "bundle-name": "^4.1.0", + "default-browser-id": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/default-browser-id": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.1.tgz", + "integrity": "sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/define-lazy-prop": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", + "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/dom-serializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", + "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", + "dev": true, + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "node_modules/domhandler": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/domutils": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz", + "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true, + "license": "MIT" + }, + "node_modules/ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/editions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/editions/-/editions-6.22.0.tgz", + "integrity": "sha512-UgGlf8IW75je7HZjNDpJdCv4cGJWIi6yumFdZ0R7A8/CIhQiWUjyGLCxdHpd8bmyD1gnkfUNK0oeOXqUS2cpfQ==", + "dev": true, + "license": "Artistic-2.0", + "dependencies": { + "version-range": "^4.15.0" + }, + "engines": { + "ecmascript": ">= es5", + "node": ">=4" + }, + "funding": { + "url": "https://bevry.me/fund" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.5.267", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.267.tgz", + "integrity": "sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==", + "dev": true, + "license": "ISC" + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/encoding-sniffer": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/encoding-sniffer/-/encoding-sniffer-0.2.1.tgz", + "integrity": "sha512-5gvq20T6vfpekVtqrYQsSCFZ1wEg5+wW0/QaZMWkFr6BqD3NfKs0rLCx4rrVlSWJeZb5NBJgVLswK/w2MWU+Gw==", + "dev": true, + "license": "MIT", + "dependencies": { + "iconv-lite": "^0.6.3", + "whatwg-encoding": "^3.1.1" + }, + "funding": { + "url": "https://github.com/fb55/encoding-sniffer?sponsor=1" + } + }, + "node_modules/end-of-stream": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz", + "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/enhanced-resolve": { + "version": "5.18.4", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.4.tgz", + "integrity": "sha512-LgQMM4WXU3QI+SYgEc2liRgznaD5ojbmY3sb8LxyguVkIg5FxdpTkvk72te2R38/TGKxH634oLxXRGY6d7AP+Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/envinfo": { + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.21.0.tgz", + "integrity": "sha512-Lw7I8Zp5YKHFCXL7+Dz95g4CcbMEpgvqZNNq3AmlT5XAV6CgAAk6gyAMqn2zjw08K9BHfcNuKrMiCPLByGafow==", + "dev": true, + "license": "MIT", + "bin": { + "envinfo": "dist/cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/environment": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz", + "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-module-lexer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.0.0.tgz", + "integrity": "sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw==", + "dev": true, + "license": "MIT" + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.x" + } + }, + "node_modules/expand-template": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", + "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==", + "dev": true, + "license": "(MIT OR WTFPL)", + "optional": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-glob": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.8" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-uri": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz", + "integrity": "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/fastest-levenshtein": { + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", + "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4.9.1" + } + }, + "node_modules/fastq": { + "version": "1.20.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.1.tgz", + "integrity": "sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==", + "dev": true, + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "pend": "~1.2.0" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, + "license": "BSD-3-Clause", + "bin": { + "flat": "cli.js" + } + }, + "node_modules/foreground-child": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.6", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/form-data": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", + "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/fs-extra": { + "version": "11.3.3", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.3.tgz", + "integrity": "sha512-VWSRii4t0AFm6ixFFmLLx1t7wS1gh+ckoa84aOeapGum0h+EZd1EhEumSB+ZdDLnEPuucsVB9oB7cxJHap6Afg==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/github-from-package": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", + "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/glob": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-11.1.0.tgz", + "integrity": "sha512-vuNwKSaKiqm7g0THUBu2x7ckSs3XJLXE+2ssL7/MfTGPLLcrJQ/4Uq1CjPTtO5cCIiRxqvN6Twy1qOwhL0Xjcw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "foreground-child": "^3.3.1", + "jackspeak": "^4.1.1", + "minimatch": "^10.1.1", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^2.0.0" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/glob/node_modules/minimatch": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", + "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/brace-expansion": "^5.0.0" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/globby": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-14.1.0.tgz", + "integrity": "sha512-0Ia46fDOaT7k4og1PDW4YbodWWr3scS2vAr2lTbsplOt2WkKp0vQbkI9wKis/T5LV/dqPjO3bpS/z6GTJB82LA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sindresorhus/merge-streams": "^2.1.0", + "fast-glob": "^3.3.3", + "ignore": "^7.0.3", + "path-type": "^6.0.0", + "slash": "^5.1.0", + "unicorn-magic": "^0.3.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globby/node_modules/@sindresorhus/merge-streams": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz", + "integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/hosted-git-info": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", + "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/htmlparser2": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-10.0.0.tgz", + "integrity": "sha512-TwAZM+zE5Tq3lrEHvOlvwgj1XLWQCtaaibSN11Q+gGBAS7Y1uZSWwXXRe4iF6OXnaq1riyQAPFOBtYc77Mxq0g==", + "dev": true, + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.2.1", + "entities": "^6.0.0" + } + }, + "node_modules/htmlparser2/node_modules/entities": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", + "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause", + "optional": true + }, + "node_modules/ignore": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", + "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-local": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", + "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", + "dev": true, + "license": "MIT", + "dependencies": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + }, + "bin": { + "import-local-fixture": "fixtures/cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/index-to-position": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-1.2.0.tgz", + "integrity": "sha512-Yg7+ztRkqslMAS2iFaU+Oa4KTSidr63OsFGlOrJoW981kIYO3CGCS3wA95P1mUi/IVSJkn0D479KTJpVpvFNuw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true, + "license": "ISC", + "optional": true + }, + "node_modules/interpret": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-3.1.1.tgz", + "integrity": "sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/is-core-module": { + "version": "2.16.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", + "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", + "dev": true, + "license": "MIT", + "dependencies": { + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-docker": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "dev": true, + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-inside-container": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", + "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^3.0.0" + }, + "bin": { + "is-inside-container": "cli.js" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "license": "MIT", + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-wsl": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz", + "integrity": "sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-inside-container": "^1.0.0" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/istextorbinary": { + "version": "9.5.0", + "resolved": "https://registry.npmjs.org/istextorbinary/-/istextorbinary-9.5.0.tgz", + "integrity": "sha512-5mbUj3SiZXCuRf9fT3ibzbSSEWiy63gFfksmGfdOzujPjW3k+z8WvIBxcJHBoQNlaZaiyB25deviif2+osLmLw==", + "dev": true, + "license": "Artistic-2.0", + "dependencies": { + "binaryextensions": "^6.11.0", + "editions": "^6.21.0", + "textextensions": "^6.11.0" + }, + "engines": { + "node": ">=4" + }, + "funding": { + "url": "https://bevry.me/fund" + } + }, + "node_modules/jackspeak": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.1.tgz", + "integrity": "sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true, + "license": "MIT" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsonc-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz", + "integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/jsonfile": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.0.tgz", + "integrity": "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/jsonwebtoken": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.3.tgz", + "integrity": "sha512-MT/xP0CrubFRNLNKvxJ2BYfy53Zkm++5bX9dtuPbqAeQpTVe0MQTFhao8+Cp//EmJp244xt6Drw/GVEGCUj40g==", + "dev": true, + "license": "MIT", + "dependencies": { + "jws": "^4.0.1", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=12", + "npm": ">=6" + } + }, + "node_modules/jwa": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.1.tgz", + "integrity": "sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-equal-constant-time": "^1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jws": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.1.tgz", + "integrity": "sha512-EKI/M/yqPncGUUh44xz0PxSidXFr/+r0pA70+gIYhjv+et7yxM+s29Y+VGDkovRofQem0fs7Uvf4+YmAdyRduA==", + "dev": true, + "license": "MIT", + "dependencies": { + "jwa": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/keytar": { + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/keytar/-/keytar-7.9.0.tgz", + "integrity": "sha512-VPD8mtVtm5JNtA2AErl6Chp06JBfy7diFQ7TQQhdpWOl6MrCRB+eRbvAZUsbGQS9kiMq0coJsy0W0vHpDCkWsQ==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "node-addon-api": "^4.3.0", + "prebuild-install": "^7.0.1" + } + }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/linkify-it": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz", + "integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "uc.micro": "^2.0.0" + } + }, + "node_modules/loader-runner": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.1.tgz", + "integrity": "sha512-IWqP2SCPhyVFTBtRcgMHdzlf9ul25NwaFx4wCEH/KjAXuuHY4yNjvPXsBokp8jCB936PyWRaPKUNh8NvylLp2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.11.5" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.truncate": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", + "integrity": "sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==", + "dev": true, + "license": "MIT" + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/markdown-it": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.0.tgz", + "integrity": "sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1", + "entities": "^4.4.0", + "linkify-it": "^5.0.0", + "mdurl": "^2.0.0", + "punycode.js": "^2.3.1", + "uc.micro": "^2.1.0" + }, + "bin": { + "markdown-it": "bin/markdown-it.mjs" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/mdurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz", + "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==", + "dev": true, + "license": "MIT" + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true, + "license": "MIT" + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mimic-response": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", + "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "license": "MIT", + "optional": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/mkdirp-classic": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", + "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/mute-stream": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", + "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", + "dev": true, + "license": "ISC" + }, + "node_modules/napi-build-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-2.0.0.tgz", + "integrity": "sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-abi": { + "version": "3.85.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.85.0.tgz", + "integrity": "sha512-zsFhmbkAzwhTft6nd3VxcG0cvJsT70rL+BIGHWVq5fi6MwGrHwzqKaxXE+Hl2GmnGItnDKPPkO5/LQqjVkIdFg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/node-addon-api": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz", + "integrity": "sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/node-releases": { + "version": "2.0.27", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz", + "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-sarif-builder": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/node-sarif-builder/-/node-sarif-builder-3.3.1.tgz", + "integrity": "sha512-8z5dAbhpxmk/WRQHXlv4V0h+9Y4Ugk+w08lyhV/7E/CQX9yDdBc3025/EG+RSMJU2aPFh/IQ7XDV7Ti5TLt/TA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/sarif": "^2.1.7", + "fs-extra": "^11.1.1" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/normalize-package-data": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.2.tgz", + "integrity": "sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^7.0.0", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/normalize-package-data/node_modules/hosted-git-info": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.2.tgz", + "integrity": "sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/normalize-package-data/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "node_modules/object-inspect": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "license": "ISC", + "optional": true, + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/open": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/open/-/open-10.2.0.tgz", + "integrity": "sha512-YgBpdJHPyQ2UE5x+hlSXcnejzAvD0b22U2OuAP+8OnlJT+PjWPxtgmGqKKc+RgTM63U9gN0YzrYc71R2WT/hTA==", + "dev": true, + "license": "MIT", + "dependencies": { + "default-browser": "^5.2.1", + "define-lazy-prop": "^3.0.0", + "is-inside-container": "^1.0.0", + "wsl-utils": "^0.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-map": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.4.tgz", + "integrity": "sha512-tkAQEw8ysMzmkhgw8k+1U/iPhWNhykKnSk4Rd5zLoPJCuJaGRPo6YposrZgaxHKzDHdDWWZvE/Sk7hsL2X/CpQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "dev": true, + "license": "BlueOak-1.0.0" + }, + "node_modules/parse-json": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.3.0.tgz", + "integrity": "sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.26.2", + "index-to-position": "^1.1.0", + "type-fest": "^4.39.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parse-semver": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/parse-semver/-/parse-semver-1.1.1.tgz", + "integrity": "sha512-Eg1OuNntBMH0ojvEKSrvDSnwLmvVuUOSdylH/pSCPNMIspLlweJyIWXCE+k/5hm3cj/EBUYwmWkjhBALNP4LXQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^5.1.0" + } + }, + "node_modules/parse-semver/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/parse5": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", + "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "entities": "^6.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parse5-htmlparser2-tree-adapter": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.1.0.tgz", + "integrity": "sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "domhandler": "^5.0.3", + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parse5-parser-stream": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/parse5-parser-stream/-/parse5-parser-stream-7.1.2.tgz", + "integrity": "sha512-JyeQc9iwFLn5TbvvqACIF/VXG6abODeB3Fwmv/TGdLk2LfbWkaySGY72at4+Ty7EkPZj854u4CrICqNk2qIbow==", + "dev": true, + "license": "MIT", + "dependencies": { + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parse5/node_modules/entities": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", + "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true, + "license": "MIT" + }, + "node_modules/path-scurry": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.1.tgz", + "integrity": "sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "11.2.4", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz", + "integrity": "sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/path-type": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-6.0.0.tgz", + "integrity": "sha512-Vj7sf++t5pBD637NSfkxpHSMfWaeig5+DKWLhcqIYx6mWQz5hdJTGDVMQiJcw1ZYkhs7AazKDGpRVji1LJCZUQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", + "dev": true, + "license": "MIT" + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pluralize": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", + "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/prebuild-install": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz", + "integrity": "sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "detect-libc": "^2.0.0", + "expand-template": "^2.0.3", + "github-from-package": "0.0.0", + "minimist": "^1.2.3", + "mkdirp-classic": "^0.5.3", + "napi-build-utils": "^2.0.0", + "node-abi": "^3.3.0", + "pump": "^3.0.0", + "rc": "^1.2.7", + "simple-get": "^4.0.0", + "tar-fs": "^2.0.0", + "tunnel-agent": "^0.6.0" + }, + "bin": { + "prebuild-install": "bin.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/pump": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.3.tgz", + "integrity": "sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/punycode.js": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", + "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/qs": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz", + "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.1.0" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dev": true, + "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", + "optional": true, + "dependencies": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "bin": { + "rc": "cli.js" + } + }, + "node_modules/rc-config-loader": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/rc-config-loader/-/rc-config-loader-4.1.3.tgz", + "integrity": "sha512-kD7FqML7l800i6pS6pvLyIE2ncbk9Du8Q0gp/4hMPhJU6ZxApkoLcGD8ZeqgiAlfwZ6BlETq6qqe+12DUL207w==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.3.4", + "js-yaml": "^4.1.0", + "json5": "^2.2.2", + "require-from-string": "^2.0.2" + } + }, + "node_modules/read": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/read/-/read-1.0.7.tgz", + "integrity": "sha512-rSOKNYUmaxy0om1BNjMN4ezNT6VKK+2xF4GBhc81mkH7L60i6dp8qPYrkndNLT3QPphoII3maL9PVC9XmhHwVQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "mute-stream": "~0.0.4" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/read-pkg": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-9.0.1.tgz", + "integrity": "sha512-9viLL4/n1BJUCT1NXVTdS1jtm80yDEgR5T4yCelII49Mbj0v1rZdKqj7zCiYdbB0CuCgdrvHcNogAKTFPBocFA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/normalize-package-data": "^2.4.3", + "normalize-package-data": "^6.0.0", + "parse-json": "^8.0.0", + "type-fest": "^4.6.0", + "unicorn-magic": "^0.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg/node_modules/unicorn-magic": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", + "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/rechoir": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.8.0.tgz", + "integrity": "sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "resolve": "^1.20.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve": { + "version": "1.22.11", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.11.tgz", + "integrity": "sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-core-module": "^2.16.1", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/reusify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", + "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/run-applescript": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.1.0.tgz", + "integrity": "sha512-DPe5pVFaAsinSaV6QjQ6gdiedWDcRCbUuiQfQa2wmWV7+xC9bGulGI8+TdRmoFkAPaBXk8CrAbnlY2ISniJ47Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, + "license": "MIT" + }, + "node_modules/sax": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.3.tgz", + "integrity": "sha512-yqYn1JhPczigF94DMS+shiDMjDowYO6y9+wB/4WgO0Y19jWYk0lQ4tuG5KI7kj4FTp1wxPj5IFfcrz/s1c3jjQ==", + "dev": true, + "license": "BlueOak-1.0.0" + }, + "node_modules/schema-utils": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.3.tgz", + "integrity": "sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.9.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.1.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/secretlint": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/secretlint/-/secretlint-10.2.2.tgz", + "integrity": "sha512-xVpkeHV/aoWe4vP4TansF622nBEImzCY73y/0042DuJ29iKIaqgoJ8fGxre3rVSHHbxar4FdJobmTnLp9AU0eg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@secretlint/config-creator": "^10.2.2", + "@secretlint/formatter": "^10.2.2", + "@secretlint/node": "^10.2.2", + "@secretlint/profiler": "^10.2.2", + "debug": "^4.4.1", + "globby": "^14.1.0", + "read-pkg": "^9.0.1" + }, + "bin": { + "secretlint": "bin/secretlint.js" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/semver": { + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/serialize-javascript": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", + "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/shallow-clone": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", + "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/side-channel": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/simple-concat": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", + "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true + }, + "node_modules/simple-get": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz", + "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "decompress-response": "^6.0.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "node_modules/slash": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", + "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/source-map": { + "version": "0.7.6", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz", + "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">= 12" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/source-map-support/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", + "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", + "dev": true, + "license": "CC-BY-3.0" + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.22", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.22.tgz", + "integrity": "sha512-4PRT4nh1EImPbt2jASOKHX7PB7I+e4IWNLvkKFDxNhJlfjbYlleYQh285Z/3mPTHSAK/AvdMmw5BNNuYH8ShgQ==", + "dev": true, + "license": "CC0-1.0" + }, + "node_modules/stream-browserify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-3.0.0.tgz", + "integrity": "sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "~2.0.4", + "readable-stream": "^3.5.0" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz", + "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/structured-source": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/structured-source/-/structured-source-4.0.0.tgz", + "integrity": "sha512-qGzRFNJDjFieQkl/sVOI2dUjHKRyL9dAJi2gCPGJLbJHBIkyOHxjuocpIEfbLioX+qSJpvbYdT49/YCdMznKxA==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "boundary": "^2.0.0" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-hyperlinks": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.2.0.tgz", + "integrity": "sha512-zFObLMyZeEwzAoKCyu1B91U79K2t7ApXuQfo8OuxwXLDgcKxuwM+YvcbIhm6QWqz7mHUH1TVytR1PwVVjEuMig==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0", + "supports-color": "^7.0.0" + }, + "engines": { + "node": ">=14.18" + }, + "funding": { + "url": "https://github.com/chalk/supports-hyperlinks?sponsor=1" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/table": { + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/table/-/table-6.9.0.tgz", + "integrity": "sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "ajv": "^8.0.1", + "lodash.truncate": "^4.4.2", + "slice-ansi": "^4.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/table/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/table/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/tapable": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.0.tgz", + "integrity": "sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/tar-fs": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.4.tgz", + "integrity": "sha512-mDAjwmZdh7LTT6pNleZ05Yt65HC3E+NiQzl672vQG38jIrehtJk/J3mNwIg+vShQPcLF/LV7CMnDW6vjj6sfYQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.1.4" + } + }, + "node_modules/tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/terminal-link": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-4.0.0.tgz", + "integrity": "sha512-lk+vH+MccxNqgVqSnkMVKx4VLJfnLjDBGzH16JVZjKE2DoxP57s6/vt6JmXV5I3jBcfGrxNrYtC+mPtU7WJztA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-escapes": "^7.0.0", + "supports-hyperlinks": "^3.2.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/terser": { + "version": "5.44.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.44.1.tgz", + "integrity": "sha512-t/R3R/n0MSwnnazuPpPNVO60LX0SKL45pyl9YlvxIdkH0Of7D5qM2EVe+yASRIlY5pZ73nclYJfNANGWPwFDZw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.15.0", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/terser-webpack-plugin": { + "version": "5.3.16", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.16.tgz", + "integrity": "sha512-h9oBFCWrq78NyWWVcSwZarJkZ01c2AyGrzs1crmHZO3QUg9D61Wu4NPjBy69n7JqylFF5y+CsUZYmYEIZ3mR+Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.25", + "jest-worker": "^27.4.5", + "schema-utils": "^4.3.0", + "serialize-javascript": "^6.0.2", + "terser": "^5.31.1" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "uglify-js": { + "optional": true + } + } + }, + "node_modules/terser/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true, + "license": "MIT" + }, + "node_modules/textextensions": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/textextensions/-/textextensions-6.11.0.tgz", + "integrity": "sha512-tXJwSr9355kFJI3lbCkPpUH5cP8/M0GGy2xLO34aZCjMXBaK3SoPnZwr/oWmo1FdCnELcs4npdCIOFtq9W3ruQ==", + "dev": true, + "license": "Artistic-2.0", + "dependencies": { + "editions": "^6.21.0" + }, + "engines": { + "node": ">=4" + }, + "funding": { + "url": "https://bevry.me/fund" + } + }, + "node_modules/tmp": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.5.tgz", + "integrity": "sha512-voyz6MApa1rQGUxT3E+BK7/ROe8itEx7vD8/HEvt4xwXucvQ5G5oeEiHkmHZJuBO21RpOf+YYm9MOivj709jow==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.14" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/ts-loader": { + "version": "9.5.4", + "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.5.4.tgz", + "integrity": "sha512-nCz0rEwunlTZiy6rXFByQU1kVVpCIgUpc/psFiKVrUwrizdnIbRFu8w7bxhUF0X613DYwT4XzrZHpVyMe758hQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "enhanced-resolve": "^5.0.0", + "micromatch": "^4.0.0", + "semver": "^7.3.4", + "source-map": "^0.7.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "typescript": "*", + "webpack": "^5.0.0" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD" + }, + "node_modules/tunnel": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", + "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6.11 <=0.7.0 || >=0.7.3" + } + }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/type-fest": { + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typed-rest-client": { + "version": "1.8.11", + "resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.8.11.tgz", + "integrity": "sha512-5UvfMpd1oelmUPRbbaVnq+rHP7ng2cE4qoQkQeAqxRL6PklkxsM0g32/HL0yfvruK6ojQ5x8EE+HF4YV6DtuCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "qs": "^6.9.1", + "tunnel": "0.0.6", + "underscore": "^1.12.1" + } + }, + "node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/uc.micro": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz", + "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==", + "dev": true, + "license": "MIT" + }, + "node_modules/underscore": { + "version": "1.13.7", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.7.tgz", + "integrity": "sha512-GMXzWtsc57XAtguZgaQViUOzs0KTkk8ojr3/xAxXLITqf/3EMwxC0inyETfDFjH/Krbhuep0HNbbjI9i/q3F3g==", + "dev": true, + "license": "MIT" + }, + "node_modules/undici": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-7.16.0.tgz", + "integrity": "sha512-QEg3HPMll0o3t2ourKwOeUAZ159Kn9mx5pnzHRQO8+Wixmh88YdZRiIwat0iNzNNXn0yoEtXJqFpyW7eM8BV7g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20.18.1" + } + }, + "node_modules/undici-types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/unicorn-magic": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", + "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", + "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/url-join": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz", + "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==", + "dev": true, + "license": "MIT" + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true, + "license": "MIT" + }, + "node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "dev": true, + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/version-range": { + "version": "4.15.0", + "resolved": "https://registry.npmjs.org/version-range/-/version-range-4.15.0.tgz", + "integrity": "sha512-Ck0EJbAGxHwprkzFO966t4/5QkRuzh+/I1RxhLgUKKwEn+Cd8NwM60mE3AqBZg5gYODoXW0EFsQvbZjRlvdqbg==", + "dev": true, + "license": "Artistic-2.0", + "engines": { + "node": ">=4" + }, + "funding": { + "url": "https://bevry.me/fund" + } + }, + "node_modules/vscode-jsonrpc": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.2.0.tgz", + "integrity": "sha512-C+r0eKJUIfiDIfwJhria30+TYWPtuHJXHtI7J0YlOmKAo7ogxP20T0zxB7HZQIFhIyvoBPwWskjxrvAtfjyZfA==", + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/vscode-languageclient": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/vscode-languageclient/-/vscode-languageclient-9.0.1.tgz", + "integrity": "sha512-JZiimVdvimEuHh5olxhxkht09m3JzUGwggb5eRUkzzJhZ2KjCN0nh55VfiED9oez9DyF8/fz1g1iBV3h+0Z2EA==", + "license": "MIT", + "dependencies": { + "minimatch": "^5.1.0", + "semver": "^7.3.7", + "vscode-languageserver-protocol": "3.17.5" + }, + "engines": { + "vscode": "^1.82.0" + } + }, + "node_modules/vscode-languageclient/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/vscode-languageclient/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/vscode-languageserver-protocol": { + "version": "3.17.5", + "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.5.tgz", + "integrity": "sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg==", + "license": "MIT", + "dependencies": { + "vscode-jsonrpc": "8.2.0", + "vscode-languageserver-types": "3.17.5" + } + }, + "node_modules/vscode-languageserver-types": { + "version": "3.17.5", + "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz", + "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==", + "license": "MIT" + }, + "node_modules/watchpack": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.5.0.tgz", + "integrity": "sha512-e6vZvY6xboSwLz2GD36c16+O/2Z6fKvIf4pOXptw2rY9MVwE/TXc6RGqxD3I3x0a28lwBY7DE+76uTPSsBrrCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/webpack": { + "version": "5.104.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.104.1.tgz", + "integrity": "sha512-Qphch25abbMNtekmEGJmeRUhLDbe+QfiWTiqpKYkpCOWY64v9eyl+KRRLmqOFA2AvKPpc9DC6+u2n76tQLBoaA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/eslint-scope": "^3.7.7", + "@types/estree": "^1.0.8", + "@types/json-schema": "^7.0.15", + "@webassemblyjs/ast": "^1.14.1", + "@webassemblyjs/wasm-edit": "^1.14.1", + "@webassemblyjs/wasm-parser": "^1.14.1", + "acorn": "^8.15.0", + "acorn-import-phases": "^1.0.3", + "browserslist": "^4.28.1", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.17.4", + "es-module-lexer": "^2.0.0", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.11", + "json-parse-even-better-errors": "^2.3.1", + "loader-runner": "^4.3.1", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^4.3.3", + "tapable": "^2.3.0", + "terser-webpack-plugin": "^5.3.16", + "watchpack": "^2.4.4", + "webpack-sources": "^3.3.3" + }, + "bin": { + "webpack": "bin/webpack.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependenciesMeta": { + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/webpack-cli": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-6.0.1.tgz", + "integrity": "sha512-MfwFQ6SfwinsUVi0rNJm7rHZ31GyTcpVE5pgVA3hwFRb7COD4TzjUUwhGWKfO50+xdc2MQPuEBBJoqIMGt3JDw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@discoveryjs/json-ext": "^0.6.1", + "@webpack-cli/configtest": "^3.0.1", + "@webpack-cli/info": "^3.0.1", + "@webpack-cli/serve": "^3.0.1", + "colorette": "^2.0.14", + "commander": "^12.1.0", + "cross-spawn": "^7.0.3", + "envinfo": "^7.14.0", + "fastest-levenshtein": "^1.0.12", + "import-local": "^3.0.2", + "interpret": "^3.1.1", + "rechoir": "^0.8.0", + "webpack-merge": "^6.0.1" + }, + "bin": { + "webpack-cli": "bin/cli.js" + }, + "engines": { + "node": ">=18.12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.82.0" + }, + "peerDependenciesMeta": { + "webpack-bundle-analyzer": { + "optional": true + }, + "webpack-dev-server": { + "optional": true + } + } + }, + "node_modules/webpack-merge": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-6.0.1.tgz", + "integrity": "sha512-hXXvrjtx2PLYx4qruKl+kyRSLc52V+cCvMxRjmKwoA+CBbbF5GfIBtR6kCvl0fYGqTUPKB+1ktVmTHqMOzgCBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "clone-deep": "^4.0.1", + "flat": "^5.0.2", + "wildcard": "^2.0.1" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/webpack-sources": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.3.3.tgz", + "integrity": "sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/whatwg-encoding": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz", + "integrity": "sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "iconv-lite": "0.6.3" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/whatwg-mimetype": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz", + "integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/wildcard": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz", + "integrity": "sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true, + "license": "ISC", + "optional": true + }, + "node_modules/wsl-utils": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/wsl-utils/-/wsl-utils-0.1.0.tgz", + "integrity": "sha512-h3Fbisa2nKGPxCpm89Hk33lBLsnaGBvctQopaBSOW/uIs6FTe1ATyAnKFJrzVs9vpGdsTe73WF3V4lIsk4Gacw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-wsl": "^3.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/xml2js": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", + "integrity": "sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/xmlbuilder": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", + "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + }, + "node_modules/yazl": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/yazl/-/yazl-2.5.1.tgz", + "integrity": "sha512-phENi2PLiHnHb6QBVot+dJnaAZ0xosj7p3fWl+znIjBDlnMI2PsZCJZ306BPTFOaHf5qdDEI8x5qFrSOBN5vrw==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-crc32": "~0.2.3" + } + } + } +} diff --git a/vscode-ext/package.json b/vscode-ext/package.json new file mode 100644 index 0000000..726f195 --- /dev/null +++ b/vscode-ext/package.json @@ -0,0 +1,46 @@ +{ + "name": "kerolox", + "displayName": "Kerolox", + "publisher": "you", + "version": "0.1.0", + "sideEffects": false, + "main": "./dist/extension.js", + "browser": "./dist/extension.js", + "contributes": { + "languages": [ + { + "id": "kerolox", + "extensions": [ + ".rp1" + ], + "aliases": [ + "Kerolox" + ], + "configuration": "./language-configuration.json" + } + ] + }, + "engines": { + "vscode": "^1.98.0" + }, + "scripts": { + "compile": "webpack --mode development", + "watch": "webpack --mode development --watch", + "vscode:prepublish": "npm run package", + "package": "webpack --mode production --devtool hidden-source-map" + }, + "dependencies": { + "vscode-languageclient": "^9.0.0" + }, + "devDependencies": { + "@types/node": "^22", + "@types/vscode": "^1.90.0", + "@vscode/vsce": "^3.7.1", + "@wasm-tool/wasm-pack-plugin": "^1.7.0", + "stream-browserify": "^3.0.0", + "ts-loader": "^9.5.4", + "typescript": "^5.0.0", + "webpack": "^5.104.0", + "webpack-cli": "^6.0.1" + } +} diff --git a/vscode-ext/src/extension.ts b/vscode-ext/src/extension.ts new file mode 100644 index 0000000..9f5e954 --- /dev/null +++ b/vscode-ext/src/extension.ts @@ -0,0 +1,30 @@ +import { LanguageServer } from "kerolox-lsp"; +import { Readable, Writable } from "stream"; +import * as vscode from "vscode"; +import { LanguageClient, LanguageClientOptions, ServerOptions } from "vscode-languageclient/node"; + +export async function activate(context: vscode.ExtensionContext) { + const server = launchLsp(); + + const clientOptions: LanguageClientOptions = { + documentSelector: [{ scheme: "file", language: "kerolox" }] + }; + + const client = new LanguageClient("kerolox", server, clientOptions, true); + await client.start(); + + const dispose = async () => await client.stop(); + context.subscriptions.push({ dispose }); +} + +export function launchLsp(): ServerOptions { + return async () => { + console.log("creating language server"); + const server = new LanguageServer(); + console.log("language server created"); + const writer = Writable.fromWeb(server.requests); + const reader = Readable.fromWeb(server.responses); + console.log("language server bound"); + return { server, writer, reader }; + }; +} diff --git a/vscode-ext/tsconfig.json b/vscode-ext/tsconfig.json new file mode 100644 index 0000000..5f5d677 --- /dev/null +++ b/vscode-ext/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "ES2024", + "lib": [ + "ES2024" + ], + "outDir": "out", + "rootDir": "src", + "sourceMap": true, + "strict": true, + "paths": { + "kerolox-lsp": ["../crates/lsp/pkg"] + } + }, + "include": [ + "src" + ], + "exclude": [ + "node_modules", + ".vscode-test" + ] +} \ No newline at end of file diff --git a/vscode-ext/webpack.config.js b/vscode-ext/webpack.config.js new file mode 100644 index 0000000..f872397 --- /dev/null +++ b/vscode-ext/webpack.config.js @@ -0,0 +1,76 @@ +//@ts-check + +'use strict'; + +const WasmPackPlugin = require('@wasm-tool/wasm-pack-plugin'); +const path = require('path'); +const TerserPlugin = require('terser-webpack-plugin'); + +/**@type {import('webpack').Configuration}*/ +module.exports = { + target: 'node', + experiments: { + asyncWebAssembly: true + }, + plugins: [ + new WasmPackPlugin({ + crateDirectory: path.resolve(__dirname, "../crates/lsp"), + extraArgs: "--target bundler -- --features wasm", + }), + ], + optimization: { + moduleIds: 'deterministic', + chunkIds: 'deterministic', + usedExports: true, + sideEffects: true, + minimize: true, + minimizer: [ + new TerserPlugin({ + parallel: true, + terserOptions: { + compress: { + passes: 2 + }, + format: { comments: false }, + mangle: true + } + }) + ] + }, + performance: { + hints: false + }, + entry: './src/extension.ts', + output: { + filename: 'extension.js', + path: path.resolve(__dirname, 'dist'), + devtoolModuleFilenameTemplate: '../[resource-path]' + }, + devtool: 'nosources-source-map', + externals: { + vscode: 'commonjs vscode' + }, + resolve: { + mainFields: ['browser', 'module', 'main'], + extensions: ['.ts', '.js'], + alias: { + "kerolox-lsp": path.resolve(__dirname, "../crates/lsp/pkg/index.js") + }, + fallback: { + stream: require.resolve('stream-browserify') + } + }, + module: { + rules: [ + { + test: /\.ts$/, + exclude: /node_modules/, + use: [ + { + loader: 'ts-loader' + } + ] + } + ] + } +};