Titanium JIRA Archive
Alloy (ALOY)

[ALOY-318] Abstract out "optimizers" for compile command

GitHub Issuen/a
TypeStory
PriorityMedium
StatusResolved
ResolutionFixed
Resolution Date2012-10-08T16:11:36.000+0000
Affected Version/sn/a
Fix Version/s2012 Sprint 20, Release 3.0.0
ComponentsXML
Labelsn/a
ReporterTony Lukasavage
AssigneeUnknown
Created2012-10-04T21:08:11.000+0000
Updated2018-03-07T22:25:36.000+0000

Description

Much like the the "parsers" for the compile command, we should modularize the "optimizers". Right now, the requires.js file is doing muh more than fixing require paths. We should be separating the processing into easy-to-understand chunks, since the AST parsing is confusing enough as it is. Off the top of my head, we could break out * defines and basic AST operations * requires * builtins * widgets (check for platform)

Comments

No comments

JSON Source