rokucommunity / rokucommunity/brighterscript
reflection
Open
Nobody has claimed this yet.
BrighterScript
New Language Feature
- Dominant language
- TypeScript
- Stars
- 208
- Forks
- 68
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 39
Description
We need to have some of the following facilities:
- Know what kind of class an object is
- Get a reference to a class constructor, by it's name, so we can do create classes at runtime, from string class names
- Potentially get pointers to functions in a namespace
- Get the transpiled name of a method at runtime, so we can add observers without knowing implementation details.. e.g.
m.dialog.observeField("close", BS.Reflection.getMethodName(MyNamespace.Function)), which will transpile to something likem.dialog.observeField("close", "MyNamespace_Function")
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by reviewing the compiler and runtime architecture to determine whether the requested reflection facilities are possible, then define separate scope and acceptance tests for class identification, runtime construction, namespace function lookup, and transpiled method names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100