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

Add 'Tokenize/' from commit '260c16aa5a5f22f0d2815a814c892bf426e73a18'

git-subtree-dir: Tokenize
git-subtree-mainline: 11225acb780a7409ea9821f72db2fa545d5433fc
git-sub...

bc8a6b9c98f824a3069c1f6daaaa56e735c39a74 authored almost 3 years ago by Chris Foster <[email protected]>
Add syntax nonterminal kinds

These are various nonterminals which have surface syntax, but where the
surface syntax itself do...

260c16aa5a5f22f0d2815a814c892bf426e73a18 authored almost 3 years ago by Chris Foster <[email protected]>
Fix comments showing shapes of LPIPE and RPIPE

5878c3d67d4d43329fb2ea0b58277d3a85cc286e authored almost 3 years ago by Chris Foster <[email protected]>
Use NEWLINE_WS kind for newline-containig whitespace

Newlines are syntactically significant in some circumstances, so
something like this is necessar...

e8eb5912fc982d7b8a8cda3e49d4d17b1075bdbd authored almost 3 years ago by Chris Foster <[email protected]>
Remove importall as a keyword

This keyword hasn't existed since before Julia 1.0
https://github.com/JuliaLang/julia/issues/22789

398d48e0eb93f92214a26d2e4f64eba15f63ea0d authored almost 3 years ago by Chris Foster <[email protected]>
Parse array concatenation syntax

Parse vcat/hcat/ncat. Gosh this was tricky to get working and it's still
not 100% right as trail...

11225acb780a7409ea9821f72db2fa545d5433fc authored almost 3 years ago by Chris Foster <[email protected]>
Try fixing CI: Add Manifest to point to Tokenize branch

596beada0e4a34211bdccf8b9bf77b75c2aae5d9 authored almost 3 years ago by Chris Foster <[email protected]>
Partially implement parse_cat + some cleanup

* Implement the parse_vect part of parse_cat so we can now index into
arrays.
* Also implement...

2ad14b18d3ae8ac0fd62a375eef73fd947213f7c authored almost 3 years ago by Chris Foster <[email protected]>
Implement parse_try and some clean up to ParseStream

Implement parse_try and set things up so the new else syntax from Julia
1.8 is tested independen...

7fd7ab19e709171bc92bc0cc87d638f75bc60a78 authored almost 3 years ago by Chris Foster <[email protected]>
Rewrite how macro names are handled + parse export

Macro names are now represented with a special token kind so they can be
locally mapped into Jul...

d7fefe45ac47b17b5bc109147a11d2cf89fb1839 authored about 3 years ago by Chris Foster <[email protected]>
Parse module, struct, primitive type

a5c17e30e146a4bd1ec303ad7243f77e838e9a9d authored about 3 years ago by Chris Foster <[email protected]>
Parse abstract type definitions

1ff468ab6e9d1a27a45c7ed207112e6bdb28ca15 authored about 3 years ago by Chris Foster <[email protected]>
Parse if-elseif-else and functions/macro definitions

12337592b368478acfbea51495d66a1dab4ced2e authored about 3 years ago by Chris Foster <[email protected]>
Parse `return`

305631096dfb1b03085d9c898236aa77ff54a824 authored about 3 years ago by Chris Foster <[email protected]>
Parsing of const, local, global

568adb664ed052cbc4695946e601b3fe0f3b1c74 authored about 3 years ago by Chris Foster <[email protected]>
Detect reserved words earlier to prevent parsing them as atoms

The flisp code is happy to call parse-atom on reserved words in
parse-unary-prefix and then dete...

273a08395cbda02b53bd1ed70ed0f4fdd37bd071 authored about 3 years ago by Chris Foster <[email protected]>
Some progress on parse_resword

Parse block / quote / while / for / let

a2801aaa5a4188dc53c7955df655a5d07aaf16f0 authored about 3 years ago by Chris Foster <[email protected]>
Implement parse_do + more tests / test cleanup

412476b619ba43076f5462690adb6655a267ebe6 authored about 3 years ago by Chris Foster <[email protected]>
More fixes for parse_call_chain

* More robust processing of macro module path
* Parsing of string macros
* Parsing of curlies
* ...

7910a5d67d002410c5195a7456991bde722f1f98 authored about 3 years ago by Chris Foster <[email protected]>
Some work on parse_call_chain and macro parsing

b7c3ae780569264fc88ca77fb6764e72fd65d332 authored about 3 years ago by Chris Foster <[email protected]>
Greatly improve generic parenthesis handling + other productions

Implement parse_brackets which is a generic tool for parsing bracketed
expressions containing co...

42883c6d5bf0dca711dd22788a3f2e46857a3738 authored about 3 years ago by Chris Foster <[email protected]>
Porting of various parsing rules

* Parentheses; various tuples, blocks and arglists
* Justaposition (ow, my eyes!)
* Space separa...

7014c724b40b9a0b16aa9f791da078ce4affd581 authored about 3 years ago by Chris Foster <[email protected]>
Consistent error reporting for raw->AST interface

Errors are now reported by emitting a node of kind K"error" in the
appropriate location and arra...

db3b7bb5e79c5e7647ce32515be12c1ca32d0e09 authored about 3 years ago by Chris Foster <[email protected]>
devdocs: some disorganized musings on error recovery

fde0b8118a1d837a9f2692ab1654b5926a6181ba authored about 3 years ago by Chris Foster <[email protected]>
Enhance grammar of toy/test parser + work on real parse_atom

8e634914e37279751fddd77a53cec1f29474d463 authored about 3 years ago by Chris Foster <[email protected]>
Remove Kinds module as it seems the string macro is sufficient

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]>
Rename internal TextSpan -> TaggedRange

TextSpan wasn't a very good name as it includes an expression head in
addition to the range of b...

2540ce741adcb464d3019cfc98b83e42d7c80436 authored about 3 years ago by Chris Foster <[email protected]>
Copy parser micro tests from comments to test suite

Fix s-expression printing for SyntaxNode to deal with a wider range of
heads. Also various small...

eb446e5ea5940be44823938a3cc79a86fbcbd0d4 authored about 3 years ago by Chris Foster <[email protected]>
Mention RSLint in README

e6f9a06958c015b60bac6e4c24a63deccd850e96 authored about 3 years ago by Chris Foster <[email protected]>
More parsing

* parse_decl_with_initial_ex
* parse_unary_prefix
* parse_def
* parse_call

Parts of
* parse_cal...

83fd03be4d6f19e26875add77a7072972cbb05df authored about 3 years ago by Chris Foster <[email protected]>
Implement parse_cond

87018220f263848cf9ebd9dfa3c520b033293454 authored about 3 years ago by Chris Foster <[email protected]>
Context-sensitive newline tokens + top level parsing

Allow peek(::ParseState) to produce newline tokens (or transparently
discard as whitespace) depe...

13ab6ed57ed0280ad9b6443cecc60a0ced6fd1c3 authored about 3 years ago by Chris Foster <[email protected]>
Start porting flisp parser

Parsing of various of the simpler constructs
* assignment
* ranges
* pairs
* arrows
* comparison...

44fcedaaeab2c6933745a4cb2cfa05d07e0c0db7 authored about 3 years ago by Chris Foster <[email protected]>
Copy over high level structure of flisp-based parser

These function definitions and comments were automatically reformatted
into Julia code with the ...

e986b0aceaa51b8fb4d1f404341a4f6fa3883204 authored about 3 years ago by Chris Foster <[email protected]>
Move ParseState out of parser.jl

This reserves parser.jl for the definition of the parsing functions
only, which should be somewh...

b58cc7c5786d10ffe10dbf1a0ca48207b30361fd authored about 3 years ago by Chris Foster <[email protected]>
Split out green tree and make it language independent

Language independence of the green tree allows us to use the low-level
data structure to overlay...

ae8f8755efa702acc39e7ff1712a88e1b7edbad8 authored about 3 years ago by Chris Foster <[email protected]>
Links to Rust's diagnostics system

4ec86112bb416f10033e77efa2c4072f0edbde12 authored about 3 years ago by Chris Foster <[email protected]>
Rename RawSyntaxNode -> GreenNode

For some reason, I just find GreenNode to be a very memorable name. Even
though the color comes ...

0456ac0e3724a9e5472c4aa89cab8ac6578c2f26 authored about 3 years ago by Chris Foster <[email protected]>
Musings on AST design

38876c1479f451c207fff66e51948159714e9555 authored about 3 years ago by Chris Foster <[email protected]>
Add binding_power function

Useful for a Pratt parser, if we go in that direction.

2f9afad21e9acd44748f03978a1e03abcb67e0db authored about 3 years ago by Chris Foster <[email protected]>
Crude tool for converting flisp defines to julia functions

e6c10c425d725bcefa82b295f94c74e31c80c7f0 authored about 3 years ago by Chris Foster <[email protected]>
Prototype parser for simple expressions

This prototype for an extremely basic grammar shows that the ParseStream
interface is at least s...

2e7a5d6fa7063aba23c1dc30064a0f4561b98cbd authored about 3 years ago by Chris Foster <[email protected]>
Fix ParseStream interface to allow extending parent nodes leftward

When parsing infix constructs, child nodes are discovered before their
parents so there's a need...

d95b3f50ecbc6bef1a9a1480c639f19bbe4b0305 authored about 3 years ago by Chris Foster <[email protected]>
Rewrite TokenStream -> ParseStream

ParseStream handles building the syntax tree and consuming whitespace
tokens so that the parser ...

55fde1a363e96811d9a369ceef5f5b4fee22f6b0 authored about 3 years ago by Chris Foster <[email protected]>
More notes about syntax tree design options

f2a2083498ed11441dcf33db1226dbe7980046ef authored about 3 years ago by Chris Foster <[email protected]>
More comparative notes to rust-analyzer

36d4d823c74b10d3e9ea8a02e8f7c4f635321f09 authored about 3 years ago by Chris Foster <[email protected]>
setchild! for setting SyntaxNode children

95590ec98d769d7577846508ca27901369d6c583 authored about 3 years ago by Chris Foster <[email protected]>
Store UInt32 span in RawSyntaxNode + improve printing

657f55fae8ea4b6cd410c7da7d4a3ad8bd66dba5 authored about 3 years ago by Chris Foster <[email protected]>
Comparisions with the rust-analyzer design

744a9ea3185c662b3fb6673f9aa9ca194f60e3e6 authored about 3 years ago by Chris Foster <[email protected]>
Improve pretty printing of SyntaxNode with byte ranges and file names

4e3ec5d7bcf1086405313e1d1c1790dc65f25b91 authored about 3 years ago by Chris Foster <[email protected]>
More detailed thoughts about prototyping of the tree data structures.

d6a76921a2ccb0c1d4dc0c6ecaf5123286ea28bd authored about 3 years ago by Chris Foster <[email protected]>
Add column lookup to SourceFile and use it in SyntaxNode display

ac1754153e6efb8bee7e76ec123f78980f74870f authored about 3 years ago by Chris Foster <[email protected]>
Use case: show how SyntaxNode works for macro expansion

This shows that SyntaxNode works nicely for simple macros based on
interpolating expressions int...

fc88d1a27248ec2f66db58c1fb85e0cd6bb43838 authored about 3 years ago by Chris Foster <[email protected]>
SourceFile: add utility to look up line numbers from byte offset.

Also fix two-argument form of show() for SyntaxNode to use a simple
S-Expr

889161ec800e6e652f80756f3de1cd4ed997080f authored about 3 years ago by Chris Foster <[email protected]>
Add SourceFile abstraction

fd514a199e2c0708d27ce0ca986d8d24769d8a67 authored about 3 years ago by Chris Foster <[email protected]>
Prototype of AST built on top of raw tree.

* Tag raw nodes with a bit more information to preserve what the parser
knows about them. We k...

ee0a7d9384fb996a2edcfcb5a942d9e64dfb6977 authored about 3 years ago by Chris Foster <[email protected]>
More comments about tree design

c8f29e338f17defeb5d870f4258fa1230884897b authored about 3 years ago by Chris Foster <[email protected]>
Lex the special form var"..." as kind VAR_IDENTIFIER

8ff6fea3ca03364bbcb2141d629a56ea32e84f79 authored about 3 years ago by Chris Foster <[email protected]>
Translating some parsing code; fiddling with kinds

* Translate a bit of recursive descent parsing code from Base
* Start work on a syntax Kind whic...

39e535b3a81cc34002d6ba38e06abc1176775785 authored about 3 years ago by Chris Foster <[email protected]>
Raw syntax tree data structure - prototyping

bec970ea3c623d8b9345458e7e9a734c110db2e0 authored about 3 years ago by Chris Foster <[email protected]>
CompatHelper: add new compat entry for Tokenize at version 0.5 (#1)

da6c9d174b11fe4e6af5f584f4dc975d7f239555 authored about 3 years ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
more accurate hash

767bd9b3e0e300c71c7464fd5f741fc19fa0c2f7 authored about 3 years ago by Sebastian Pfitzner <[email protected]>
Require VERSION >= 1.4

var_str doesn't exist prior to 1.3, and `var"true" = x` doesn't work
prior to 1.4. Can fix this ...

d86b9599f123e535c67b725e23ec04d4dd2493ac authored about 3 years ago by Chris Foster <[email protected]>
Friendlier more literal names for token kinds

Parser source which tests token kinds is easier to read when those
tokens are represented as str...

b3eff15685ba791242c01f8ca3e25cc6b6d89627 authored about 3 years ago by Chris Foster <[email protected]>
Initial experiments on top of Tokenize

Trying to figure out what data structures to use for lexing and porting
a small part of the flis...

5d2029dc5314165a4710460a47381c79563394ee authored about 3 years ago by Chris Foster <[email protected]>
speed up RawToken interpolation

b3d2be812fdaa0f72a6d5071471ee990803993df authored about 3 years ago by Sebastian Pfitzner <[email protected]>
iterate instead of collect in profile script

0ca20415af8f235b51d6a8a434c27bce94c5d23a authored about 3 years ago by Sebastian Pfitzner <[email protected]>
Use Base.hash and add profiling script

4f91b83810ecee2f54bd7b6340f2e335a2b61489 authored about 3 years ago by Sebastian Pfitzner <[email protected]>
Files generated by PkgTemplates

PkgTemplates version: 0.7.17

4dfc4be97eea5b19456bda14e9f72c4c853e6826 authored over 3 years ago by Chris Foster <[email protected]>
Initial commit

1ca5a7b2c3996ed0aff75965f43fabc381392c2e authored over 3 years ago by Chris Foster <[email protected]>
Bump version

bed7f32b8abee424d060358cd361a1c0a9d95076 authored over 3 years ago by Kristoffer Carlsson <[email protected]>
Simplify lex_identifier

c4027efe267563d69c94abba69ed603c4004509e authored over 3 years ago by Sebastian Pfitzner <[email protected]>
Update version

ac425ab507d6d5725ef6e9332540f34fec230a6d authored over 3 years ago by Kristoffer Carlsson <[email protected]>
Revert "Simplify lex_identifier (#188)" (#190)

This reverts commit 22362970f89344d64b11477a13f13c95e141c451.

1837a2f4c37f9cff598454151a176fb0d91f94c5 authored over 3 years ago by Kristoffer Carlsson <[email protected]>
Bump version

28c8d07faeecd912312016789c47e2701450a630 authored over 3 years ago by Kristoffer Carlsson <[email protected]>
change optimization level to 1 (#187)

9e1afe2e8f9058069691e876a5ef4951c5b9c5ec authored over 3 years ago by Kristoffer Carlsson <[email protected]>
Simplify lex_identifier (#188)

22362970f89344d64b11477a13f13c95e141c451 authored over 3 years ago by ZacNugent <[email protected]>
v0.5.18

74f8b87940c2e4bd96bcc0ee4f10054db0e4b0dc authored over 3 years ago by Sebastian Pfitzner <[email protected]>
Merge pull request #186 from JuliaLang/sp/lex-base

lex all of Base in tests

df3943bee147d9b6702f5a5c1c801c00553377ea authored over 3 years ago by Sebastian Pfitzner <[email protected]>
Merge pull request #185 from JuliaLang/sp/additional-op-suffixes

add additional operator suffixes

bc555fafc03e1ba8e67e70d839b2ad5141595780 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
Merge pull request #184 from JuliaLang/sp/LEFT_ARROW

Add LEFT_ARROW and DOUBLE_ARROW

44042179afcce379c447a244945c55339c6db9b0 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
lex all of Base in tests

df2ea9c6c2243c6dc40556a843c0046f992a3e68 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
add additional operator suffixes

c80ffc3214d798bce8add9a2bc75460b12c37095 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
fix tests

df0b25f00c5cf5e187b5cc50b8584c53a4b6bfdb authored over 3 years ago by Sebastian Pfitzner <[email protected]>
add DOUBLE_ARROW

44890227ffbaebe435a787f1be2db664fa951d2e authored over 3 years ago by Sebastian Pfitzner <[email protected]>
add LEFT_ARROW

72873ac8e230f2f3f2dbce725593e8f9efd6a46c authored over 3 years ago by Sebastian Pfitzner <[email protected]>
0.5.17 (#183)

d116c92692024c8694ab4d838bd90e4546851be8 authored over 3 years ago by Gustavo Goretkin <[email protected]>
Merge pull request #182 from JuliaLang/sp/fix-op-suffix

clean up code

2f0f8b67b234a637c92d4887ae570cd41bea4215 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
Merge pull request #181 from JuliaLang/sp/fix-op-suffix

fix isopsuffix

aa335c7a78017687976f5b66632dd579cecd0eed authored over 3 years ago by Sebastian Pfitzner <[email protected]>
clean up code

aea163761d4457050c8dec6e1519a19812c21e2a authored over 3 years ago by Sebastian Pfitzner <[email protected]>
actually fix tests

ad6ca20c3371cb5f29df400fa3642b6fa9ebf4a4 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
fix tests on nightly

c5cce425634ca2b988b671544390ff7b7f16f425 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
prettier tests

5bce4d9bec756f9ec15c6fac0124fe00e16f64b1 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
fix tests

ed98ccb7a756a18c4186c1f847c377c497ce6f23 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
fix isopsuffix

f3758f9376f2d22719b6b179fe252456e76a82a9 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
0.5.16

7628d9f65255f90d95418387565a33ef1949abbf authored over 3 years ago by Sebastian Pfitzner <[email protected]>
Merge pull request #179 from JuliaLang/sp/more-string-interp-fixes

fix unicode string interpolation

f27f28c64b13e50094ca16177c220734bb4f4152 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
fix string unicode string interpolation

85f7926800f6d5e617245cb98069bda93440b4a9 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
0.5.15

848c8696c0cc7eea64fc65dc676912b8c3e48483 authored over 3 years ago by Sebastian Pfitzner <[email protected]>
Merge pull request #176 from JuliaLang/sp/fix-string-interpolation

fix string interpolation

bc5a92612d0a8c1e5368b7deabae4b9171c49f00 authored over 3 years ago by Sebastian Pfitzner <[email protected]>