More support for reflection / introspection

Open
#65 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
perl, python
Domain
compilers

Research direction

Start by reviewing the requested reflection capabilities in the issue body and the linked Python inspect reference. The issue does not name files, tests, or entry points; completion would require defining and implementing a scoped set of introspection features, including candidate functions or methods, comments, and source line information.

Written by the indexing model from the issue text.

Description

feature

Getting the list of candidate function-or-methods a name might refer to (and for Sidef FOMs, their argument list?), reading a Block's inner/surrounding comments, similar things.

and some of the other kinds of reflection like implemented in Python's inspect, like the current line number or the line number where a variable / overload was defined.

Dominant language
Perl
Stars
126
Forks
2
Avg merge
15m
Merged PRs (30d)
3

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.

More from trizen/sidef

All issues in trizen/sidef

Similar issues

More Perl issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.