JuliaDebug / JuliaDebug/Cthulhu.jl

Change I pretty rendering of AST to Meta.show_sexpr?

Open
#64 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
709
Forks
46
Avg merge
1d 13h
Merged PRs (30d)
2

Description

Thinking about this more.
One of the main reasonto want to look at the unpretty ast is to know about things that get reordered during parsing.
Or added during parsing.
Both of which are invisible on the pretty ast
(Most of the thing I am aware of for this relate to kwargs)

Anyway with that in mind what is better,
The giant dump,
Or the pseudolisp sexpr

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the current AST pretty-rendering path and compare the giant dump with Meta.show_sexpr's pseudolisp output, especially whether parser reordering or additions such as kwargs remain visible. Done means deciding and documenting which representation should replace or remain the pretty AST rendering.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.