dgkf / dgkf/scriptgloss

Streamline multiplicative syntax processing calls

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
R
Stars
10
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Currently, there are many functions which follow a similar recursive processing of the syntax tree (nearly identical to Hadley's `bquote2` function in [Advanced R: Expressions](http://adv-r.had.co.nz/Expressions.html).

Instead of iteratively performing operations across the same datastructure, it would drastically reduce the performance cost of running the static code analysis if all of these operations could be composed into a single operation (or a minimal subset of operations) which can then be lifted over the syntax tree in a minimal set of passes.

This is a long-term goal once the core functionality has stabilized.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the functions that recursively process the syntax tree and compare their behavior with Hadley’s bquote2 function in Advanced R: Expressions. Determine how these operations can be composed into a minimal set of passes. Done means reducing repeated traversal while preserving the static analysis functionality and improving its performance.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.