Titanium JIRA Archive
Alloy (ALOY)

[ALOY-252] Make tss file commas between items optional

GitHub Issuen/a
TypeStory
PriorityMedium
StatusResolved
ResolutionFixed
Resolution Date2013-01-08T15:34:34.000+0000
Affected Version/sn/a
Fix Version/sAlloy 0.3.5, 2013 Sprint 02
ComponentsXML
LabelsGA-candidate
ReporterTony Lukasavage
AssigneeUnknown
Created2012-09-12T08:25:20.000+0000
Updated2018-03-07T22:25:50.000+0000

Description

While this seems like a simple task, our current parsers rely on the style being able to be parsed by the uglifyjs AST parser. Removing the commas breaks this first initial step before we pass it to the JSON parser. It shows us a larger problem in that we should probably have a complete parsing expression grammar for TSS files. This will allow us to account for more than just commas, but also comments and things like that.

Comments

No comments

JSON Source