JavaScript:SpiderMonkey:Directories: Difference between revisions

Jump to navigation Jump to search
fmt
(Created page with "This page describes how we want to organize the SpiderMonkey source code, in subdirectories under js/src. The reason we have this document is that currently it's not organize...")
 
(fmt)
Line 3: Line 3:
The reason we have this document is that currently it's not organized this way. It's a bit of a mess just now.
The reason we have this document is that currently it's not organized this way. It's a bit of a mess just now.


## Long-term goal
=== Directories under js/src ===


The directories under js/src should be like this:
The directories under js/src should be like this:
Line 35: Line 35:




## Focusing the vm directory on VM stuff
=== Focusing the vm directory on VM stuff ===


There's a lot of great stuff in js/src/vm, like JSONPrinter.h and Time.h, that is VM-related in no way whatsoever. It seems we have already decided to have a util directory; maybe then we should call it js/src/util and reserve js/src/vm for the actual VM.
There's a lot of great stuff in js/src/vm, like JSONPrinter.h and Time.h, that is VM-related in no way whatsoever. It seems we have already decided to have a util directory; maybe then we should call it js/src/util and reserve js/src/vm for the actual VM.
638

edits

Navigation menu