Opened 7 years ago

Closed 3 years ago

#77 closed change (rejected)

[meta] ChimeraScript

Reported by: trev Assignee: trev
Priority: P5 Milestone:
Module: Automation Keywords: meta
Cc: Blocked By: #79, #80, #81, #82, #83, #84, #85, #86, #87, #88, #89, #90, #91, #92, #93, #94, #95, #96, #97
Blocking: Platform: Firefox
Ready: Confidential: no
Tester: Verified working: no
Review URL(s):

Description (last modified by philll)


Implement a minimally modified JavaScript dialect that can be compiled down to asm.js with relatively little effort. This compiled code should run in any modern browser and be very fast in at least the newest Firefox and Chrome versions. The idea here is to rewrite at least filterClasses.js, subscriptionClasses.js, filterStorage.js, matcher.js and elemHide.js to improve performance and memory efficiency of our core code.

What to change

Ticket Status Resolution Summary Owner
#79 closed fixed [ChimeraScript] Implement initial parser trev
#80 closed fixed [ChimeraScript] "Steal" decompiler from JSHydra trev
#81 closed fixed [ChimeraScript] Implement Node-based compile script trev
#82 closed fixed [ChimeraScript] Implement initial compiler trev
#83 closed rejected [ChimeraScript] Parse class declarations
#84 closed rejected [ChimeraScript] Parse external API markers
#85 closed fixed [ChimeraScript] Use SpiderMonkey runtime if node.js isn't installed trev
#86 closed rejected [ChimeraScript] Allow compiling multiple files at once
#87 closed fixed [ChimeraScript] Improve error reporting (track line number and column) trev
#88 closed rejected [ChimeraScript] Make heap size configurable
#89 closed fixed [ChimeraScript] Recognize the scopes involved trev
#90 closed rejected [ChimeraScript] Verify variable types
#91 closed rejected [ChimeraScript] Convert variables into heap references
#92 closed fixed [ChimeraScript] Move all functions to top level trev
#93 closed rejected [ChimeraScript] Handle nested functions correctly (auto-insert additional parameters)
#94 closed fixed [ChimeraScript] Allow exporting functions trev
#95 closed rejected [ChimeraScript] Convert parameters and return value for exported functions
#96 closed rejected [ChimeraScript] Convert += and similar operations into regular assignments
#97 closed rejected [ChimeraScript] Indicate type for all expressions

Change History (8)

comment:1 Changed 7 years ago by philll

  • Description modified (diff)

comment:2 Changed 7 years ago by philll

  • Blocked By 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97 added

comment:3 Changed 7 years ago by philll

  • Keywords meta added

comment:4 Changed 7 years ago by trev

  • Reporter changed from philll to trev

comment:5 Changed 7 years ago by trev

  • Component changed from Unknown to Build-and-Release-Tools

comment:6 Changed 7 years ago by trev

  • Priority changed from Unknown to P5

Setting priority to P5, this might become unnecessary if #145 works out.

comment:7 Changed 6 years ago by philll

  • Platform set to Firefox

comment:8 Changed 3 years ago by trev

  • Resolution set to rejected
  • Status changed from new to closed

We are going with Emscripten instead of ChimeraScript.

Note: See TracTickets for help on using tickets.