638
edits
(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. | ||
=== 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 === | |||
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. | ||
edits