Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/JuliaLang/JuliaSyntax.jl
The Julia compiler frontend
https://github.com/JuliaLang/JuliaSyntax.jl
git-subtree-dir: Tokenize
git-subtree-mainline: 11225acb780a7409ea9821f72db2fa545d5433fc
git-sub...
These are various nonterminals which have surface syntax, but where the
surface syntax itself do...
5878c3d67d4d43329fb2ea0b58277d3a85cc286e authored almost 3 years ago by Chris Foster <[email protected]>
Newlines are syntactically significant in some circumstances, so
something like this is necessar...
This keyword hasn't existed since before Julia 1.0
https://github.com/JuliaLang/julia/issues/22789
Parse vcat/hcat/ncat. Gosh this was tricky to get working and it's still
not 100% right as trail...
596beada0e4a34211bdccf8b9bf77b75c2aae5d9 authored almost 3 years ago by Chris Foster <[email protected]>
* Implement the parse_vect part of parse_cat so we can now index into
arrays.
* Also implement...
Implement parse_try and set things up so the new else syntax from Julia
1.8 is tested independen...
Macro names are now represented with a special token kind so they can be
locally mapped into Jul...
a5c17e30e146a4bd1ec303ad7243f77e838e9a9d authored about 3 years ago by Chris Foster <[email protected]>
1ff468ab6e9d1a27a45c7ed207112e6bdb28ca15 authored about 3 years ago by Chris Foster <[email protected]>
12337592b368478acfbea51495d66a1dab4ced2e authored about 3 years ago by Chris Foster <[email protected]>
305631096dfb1b03085d9c898236aa77ff54a824 authored about 3 years ago by Chris Foster <[email protected]>
568adb664ed052cbc4695946e601b3fe0f3b1c74 authored about 3 years ago by Chris Foster <[email protected]>
The flisp code is happy to call parse-atom on reserved words in
parse-unary-prefix and then dete...
Parse block / quote / while / for / let
a2801aaa5a4188dc53c7955df655a5d07aaf16f0 authored about 3 years ago by Chris Foster <[email protected]>412476b619ba43076f5462690adb6655a267ebe6 authored about 3 years ago by Chris Foster <[email protected]>
* More robust processing of macro module path
* Parsing of string macros
* Parsing of curlies
* ...
b7c3ae780569264fc88ca77fb6764e72fd65d332 authored about 3 years ago by Chris Foster <[email protected]>
Implement parse_brackets which is a generic tool for parsing bracketed
expressions containing co...
* Parentheses; various tuples, blocks and arglists
* Justaposition (ow, my eyes!)
* Space separa...
Errors are now reported by emitting a node of kind K"error" in the
appropriate location and arra...
fde0b8118a1d837a9f2692ab1654b5926a6181ba authored about 3 years ago by Chris Foster <[email protected]>
8e634914e37279751fddd77a53cec1f29474d463 authored about 3 years ago by Chris Foster <[email protected]>
This also removes a lot of use of var"" which can only be a good thing!
2f582499d49e9a7c9647b394096a296e2c02cc3a authored about 3 years ago by Chris Foster <[email protected]>
TextSpan wasn't a very good name as it includes an expression head in
addition to the range of b...
Fix s-expression printing for SyntaxNode to deal with a wider range of
heads. Also various small...
e6f9a06958c015b60bac6e4c24a63deccd850e96 authored about 3 years ago by Chris Foster <[email protected]>
* parse_decl_with_initial_ex
* parse_unary_prefix
* parse_def
* parse_call
Parts of
* parse_cal...
87018220f263848cf9ebd9dfa3c520b033293454 authored about 3 years ago by Chris Foster <[email protected]>
Allow peek(::ParseState) to produce newline tokens (or transparently
discard as whitespace) depe...
Parsing of various of the simpler constructs
* assignment
* ranges
* pairs
* arrows
* comparison...
These function definitions and comments were automatically reformatted
into Julia code with the ...
This reserves parser.jl for the definition of the parsing functions
only, which should be somewh...
Language independence of the green tree allows us to use the low-level
data structure to overlay...
4ec86112bb416f10033e77efa2c4072f0edbde12 authored about 3 years ago by Chris Foster <[email protected]>
For some reason, I just find GreenNode to be a very memorable name. Even
though the color comes ...
38876c1479f451c207fff66e51948159714e9555 authored about 3 years ago by Chris Foster <[email protected]>
Useful for a Pratt parser, if we go in that direction.
2f9afad21e9acd44748f03978a1e03abcb67e0db authored about 3 years ago by Chris Foster <[email protected]>e6c10c425d725bcefa82b295f94c74e31c80c7f0 authored about 3 years ago by Chris Foster <[email protected]>
This prototype for an extremely basic grammar shows that the ParseStream
interface is at least s...
When parsing infix constructs, child nodes are discovered before their
parents so there's a need...
ParseStream handles building the syntax tree and consuming whitespace
tokens so that the parser ...
f2a2083498ed11441dcf33db1226dbe7980046ef authored about 3 years ago by Chris Foster <[email protected]>
36d4d823c74b10d3e9ea8a02e8f7c4f635321f09 authored about 3 years ago by Chris Foster <[email protected]>
95590ec98d769d7577846508ca27901369d6c583 authored about 3 years ago by Chris Foster <[email protected]>
657f55fae8ea4b6cd410c7da7d4a3ad8bd66dba5 authored about 3 years ago by Chris Foster <[email protected]>
744a9ea3185c662b3fb6673f9aa9ca194f60e3e6 authored about 3 years ago by Chris Foster <[email protected]>
4e3ec5d7bcf1086405313e1d1c1790dc65f25b91 authored about 3 years ago by Chris Foster <[email protected]>
d6a76921a2ccb0c1d4dc0c6ecaf5123286ea28bd authored about 3 years ago by Chris Foster <[email protected]>
ac1754153e6efb8bee7e76ec123f78980f74870f authored about 3 years ago by Chris Foster <[email protected]>
This shows that SyntaxNode works nicely for simple macros based on
interpolating expressions int...
Also fix two-argument form of show() for SyntaxNode to use a simple
S-Expr
fd514a199e2c0708d27ce0ca986d8d24769d8a67 authored about 3 years ago by Chris Foster <[email protected]>
* Tag raw nodes with a bit more information to preserve what the parser
knows about them. We k...
c8f29e338f17defeb5d870f4258fa1230884897b authored about 3 years ago by Chris Foster <[email protected]>
8ff6fea3ca03364bbcb2141d629a56ea32e84f79 authored about 3 years ago by Chris Foster <[email protected]>
* Translate a bit of recursive descent parsing code from Base
* Start work on a syntax Kind whic...
bec970ea3c623d8b9345458e7e9a734c110db2e0 authored about 3 years ago by Chris Foster <[email protected]>
da6c9d174b11fe4e6af5f584f4dc975d7f239555 authored about 3 years ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
767bd9b3e0e300c71c7464fd5f741fc19fa0c2f7 authored about 3 years ago by Sebastian Pfitzner <[email protected]>
var_str doesn't exist prior to 1.3, and `var"true" = x` doesn't work
prior to 1.4. Can fix this ...
Parser source which tests token kinds is easier to read when those
tokens are represented as str...
Trying to figure out what data structures to use for lexing and porting
a small part of the flis...
b3d2be812fdaa0f72a6d5071471ee990803993df authored about 3 years ago by Sebastian Pfitzner <[email protected]>
0ca20415af8f235b51d6a8a434c27bce94c5d23a authored about 3 years ago by Sebastian Pfitzner <[email protected]>
4f91b83810ecee2f54bd7b6340f2e335a2b61489 authored about 3 years ago by Sebastian Pfitzner <[email protected]>
PkgTemplates version: 0.7.17
4dfc4be97eea5b19456bda14e9f72c4c853e6826 authored over 3 years ago by Chris Foster <[email protected]>1ca5a7b2c3996ed0aff75965f43fabc381392c2e authored over 3 years ago by Chris Foster <[email protected]>
bed7f32b8abee424d060358cd361a1c0a9d95076 authored over 3 years ago by Kristoffer Carlsson <[email protected]>
c4027efe267563d69c94abba69ed603c4004509e authored over 3 years ago by Sebastian Pfitzner <[email protected]>
ac425ab507d6d5725ef6e9332540f34fec230a6d authored over 3 years ago by Kristoffer Carlsson <[email protected]>
This reverts commit 22362970f89344d64b11477a13f13c95e141c451.
1837a2f4c37f9cff598454151a176fb0d91f94c5 authored over 3 years ago by Kristoffer Carlsson <[email protected]>28c8d07faeecd912312016789c47e2701450a630 authored over 3 years ago by Kristoffer Carlsson <[email protected]>
9e1afe2e8f9058069691e876a5ef4951c5b9c5ec authored over 3 years ago by Kristoffer Carlsson <[email protected]>
22362970f89344d64b11477a13f13c95e141c451 authored over 3 years ago by ZacNugent <[email protected]>
74f8b87940c2e4bd96bcc0ee4f10054db0e4b0dc authored over 3 years ago by Sebastian Pfitzner <[email protected]>
lex all of Base in tests
df3943bee147d9b6702f5a5c1c801c00553377ea authored over 3 years ago by Sebastian Pfitzner <[email protected]>add additional operator suffixes
bc555fafc03e1ba8e67e70d839b2ad5141595780 authored over 3 years ago by Sebastian Pfitzner <[email protected]>Add LEFT_ARROW and DOUBLE_ARROW
44042179afcce379c447a244945c55339c6db9b0 authored over 3 years ago by Sebastian Pfitzner <[email protected]>df2ea9c6c2243c6dc40556a843c0046f992a3e68 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
c80ffc3214d798bce8add9a2bc75460b12c37095 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
df0b25f00c5cf5e187b5cc50b8584c53a4b6bfdb authored over 3 years ago by Sebastian Pfitzner <[email protected]>
44890227ffbaebe435a787f1be2db664fa951d2e authored over 3 years ago by Sebastian Pfitzner <[email protected]>
72873ac8e230f2f3f2dbce725593e8f9efd6a46c authored over 3 years ago by Sebastian Pfitzner <[email protected]>
d116c92692024c8694ab4d838bd90e4546851be8 authored over 3 years ago by Gustavo Goretkin <[email protected]>
clean up code
2f0f8b67b234a637c92d4887ae570cd41bea4215 authored over 3 years ago by Sebastian Pfitzner <[email protected]>fix isopsuffix
aa335c7a78017687976f5b66632dd579cecd0eed authored over 3 years ago by Sebastian Pfitzner <[email protected]>aea163761d4457050c8dec6e1519a19812c21e2a authored over 3 years ago by Sebastian Pfitzner <[email protected]>
ad6ca20c3371cb5f29df400fa3642b6fa9ebf4a4 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
c5cce425634ca2b988b671544390ff7b7f16f425 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
5bce4d9bec756f9ec15c6fac0124fe00e16f64b1 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
ed98ccb7a756a18c4186c1f847c377c497ce6f23 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
f3758f9376f2d22719b6b179fe252456e76a82a9 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
7628d9f65255f90d95418387565a33ef1949abbf authored over 3 years ago by Sebastian Pfitzner <[email protected]>
fix unicode string interpolation
f27f28c64b13e50094ca16177c220734bb4f4152 authored over 3 years ago by Sebastian Pfitzner <[email protected]>85f7926800f6d5e617245cb98069bda93440b4a9 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
848c8696c0cc7eea64fc65dc676912b8c3e48483 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
fix string interpolation
bc5a92612d0a8c1e5368b7deabae4b9171c49f00 authored over 3 years ago by Sebastian Pfitzner <[email protected]>