Utilities to manipulate Elixir source code
APACHE-2.0 License
Full Changelog: https://github.com/doorgan/sourceror/compare/v1.5.0...v1.6.0
Published by doorgan 3 months ago
Zipper.search_pattern/2
by @zachallaun in https://github.com/doorgan/sourceror/pull/154
Zipper.at/2
by @zachallaun in https://github.com/doorgan/sourceror/pull/156
supertree
in Zipper.within/2
by @zachdaniel in https://github.com/doorgan/sourceror/pull/157
Zipper.find_value/3
by @doorgan in https://github.com/doorgan/sourceror/pull/161
Full Changelog: https://github.com/doorgan/sourceror/compare/v1.4.0...v1.5.0
Published by doorgan 4 months ago
Full Changelog: https://github.com/doorgan/sourceror/compare/v1.3.0...v1.4.0
Published by doorgan 4 months ago
get_range
for heredocs by @doorgan in https://github.com/doorgan/sourceror/pull/144
Zipper.down/1
by @zachdaniel in https://github.com/doorgan/sourceror/pull/146
supertree
, and add Zipper.all_the_way_up/1
by @zachdaniel in https://github.com/doorgan/sourceror/pull/148
Full Changelog: https://github.com/doorgan/sourceror/compare/v1.2.1...v1.3.0
Published by doorgan 5 months ago
Full Changelog: https://github.com/doorgan/sourceror/compare/v1.2.0...v1.2.1
Published by doorgan 5 months ago
Full Changelog: https://github.com/doorgan/sourceror/compare/v1.1.0...v1.2.0
Published by doorgan 6 months ago
Full Changelog: https://github.com/doorgan/sourceror/compare/v1.0.3...v1.1.0
Published by doorgan 6 months ago
Full Changelog: https://github.com/doorgan/sourceror/compare/v1.0.2...v1.0.3
Published by doorgan 7 months ago
Full Changelog: https://github.com/doorgan/sourceror/compare/v1.0.1...v1.0.2
Published by doorgan 10 months ago
Sourceror.get_range
returning incorrect ranges for anonymous functions with empty bodiesFull Changelog: https://github.com/doorgan/sourceror/compare/v1.0.0...v1.0.1
Published by doorgan 10 months ago
Sourceror hasn't received any major changes in a long time, so it can be considered stable now.
In addition to getting out of pre-1.0 versions, this release sets the minimum supported version to Elixir 1.12 to simplify maintenance.
Full Changelog: https://github.com/doorgan/sourceror/compare/v0.14.1...v1.0.0
Published by doorgan 12 months ago
get_range
by @zachallaun in https://github.com/doorgan/sourceror/pull/111
Full Changelog: https://github.com/doorgan/sourceror/compare/v0.14.0...v0.14.1
Published by doorgan about 1 year ago
get_range
works for all syntax nodes parsed using Sourceror.parse_string
by @zachallaun in https://github.com/doorgan/sourceror/pull/104
get_range/1
to allow returning nil
and add syntax corpus by @zachallaun in https://github.com/doorgan/sourceror/pull/107
Sourceror.Identifier
by @zachallaun in https://github.com/doorgan/sourceror/pull/108
Full Changelog: https://github.com/doorgan/sourceror/compare/v0.13.0...v0.14.0
Published by doorgan about 1 year ago
Zipper
to use a struct by @zachallaun in https://github.com/doorgan/sourceror/pull/98
get_range
for complex module aliases (fixes #99) by @zachallaun in https://github.com/doorgan/sourceror/pull/100
Full Changelog: https://github.com/doorgan/sourceror/compare/v0.12.3...v0.13.0
Published by doorgan over 1 year ago
Full Changelog: https://github.com/doorgan/sourceror/compare/v0.12.2...v0.12.3
Published by doorgan over 1 year ago
to_string
crashing if a formatter for a dependency couldn't be found (thanks to @NickNeck)Published by doorgan over 1 year ago
quoted_to_algebra
to to_string
, which allows the usage of other formatters like FreedomFormatter
(thanks to @NickNeck)to_string
uses the locals_without_parens
from your project by default (thanks to @scottming and @NickNeck)get_rage
to crash on the AST for anonymous function calls (thanks to @zachallaun)Published by doorgan over 1 year ago
Sourceror.patch_string
now produces better results whenPublished by doorgan about 2 years ago
Sourceror.parse
now handles files with only comments (ThanksPublished by doorgan over 2 years ago