2002-10-12 22:08:29 +04:00
|
|
|
Build instructions for Epimetheus
|
|
|
|
10/12/2002
|
2002-03-30 03:14:18 +03:00
|
|
|
|
2001-12-03 10:58:18 +03:00
|
|
|
|
|
|
|
Building JS2 on WINNT:
|
|
|
|
---------------------------------------------------------------------------------------------
|
|
|
|
[/d/JS_2] cvs -z3 co mozilla/js2
|
|
|
|
cvs -z3 co mozilla/js/src/fdlibm
|
|
|
|
|
2001-12-12 03:24:17 +03:00
|
|
|
Compiling in Visual C++:
|
2001-12-03 10:58:18 +03:00
|
|
|
|
2002-10-12 22:08:29 +04:00
|
|
|
Workspace: D:\JS_2\mozilla\js2\src\winbuild\Epimetheus\Epimetheus.dsw
|
2001-12-03 10:58:18 +03:00
|
|
|
|
2002-10-12 22:08:29 +04:00
|
|
|
Project Files: D:\JS_2\mozilla\js2\src\winbuild\Epimetheus.dsp <---------- active project
|
2001-12-03 10:58:18 +03:00
|
|
|
D:\JS_2\mozilla\js2\src\winbuild\fdlibm.dsp
|
|
|
|
|
|
|
|
|
2002-10-12 22:08:29 +04:00
|
|
|
RUNNING EPIMETHEUS AFTER YOU'VE BUILT IT:
|
|
|
|
>cd (path to)\mozilla\js2\src\cpp\winbuild\Epimetheus\Debug
|
|
|
|
>Epimetheus
|
|
|
|
Welcome to Epimetheus.
|
|
|
|
ep> (use ^z to exit)
|
2001-12-03 10:58:18 +03:00
|
|
|
|
2001-12-12 03:24:17 +03:00
|
|
|
|
2001-12-03 10:58:18 +03:00
|
|
|
|
2002-03-30 03:14:18 +03:00
|
|
|
|
2001-12-12 03:24:17 +03:00
|
|
|
---------------------------------------------------------------------------------------------
|
2001-12-03 10:58:18 +03:00
|
|
|
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-08 00:21:22 +03:00
|
|
|
|
|
|
|
Files:
|
|
|
|
|
2002-10-12 22:08:29 +04:00
|
|
|
js2metadata.[cpp|h]
|
|
|
|
- Walks parse tree, applies semantics analysis, emit byte code.
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-08 00:21:22 +03:00
|
|
|
|
2002-10-12 22:08:29 +04:00
|
|
|
bytecodecontainer.[cpp|h]
|
|
|
|
- Utility class for handling bytecode stream.
|
2002-01-11 03:29:25 +03:00
|
|
|
|
|
|
|
exception.[cpp|h]
|
2002-10-12 22:08:29 +04:00
|
|
|
- exception objec
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-08 00:21:22 +03:00
|
|
|
|
2002-01-11 03:29:25 +03:00
|
|
|
formatter.cpp formatter.h
|
|
|
|
- "Formatter" class, iostream like wrapper around stdio.
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-08 00:21:22 +03:00
|
|
|
|
|
|
|
hash.cpp hash.h
|
2002-01-11 03:29:25 +03:00
|
|
|
- a hash
|
|
|
|
|
2002-10-12 22:08:29 +04:00
|
|
|
js2engine.[cpp|h]
|
2002-01-11 03:29:25 +03:00
|
|
|
- interpreter loop & runtime support routines
|
|
|
|
|
2002-10-12 22:08:29 +04:00
|
|
|
js2date.[cpp|h]
|
|
|
|
js2math.[cpp|h]
|
|
|
|
js2string.[cpp|h]
|
|
|
|
js2regexp.[cpp|h]
|
2002-01-11 03:29:25 +03:00
|
|
|
- implementations of ECMAScript built-ins
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-08 00:21:22 +03:00
|
|
|
|
|
|
|
lexer.cpp lexer.h
|
2002-01-11 03:29:25 +03:00
|
|
|
- main lexer.
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-08 00:21:22 +03:00
|
|
|
|
|
|
|
mem.cpp mem.h
|
2002-01-11 03:29:25 +03:00
|
|
|
- zone, arena, and pool classes for memory management.
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-08 00:21:22 +03:00
|
|
|
|
|
|
|
numerics.cpp numerics.h
|
2002-01-11 03:29:25 +03:00
|
|
|
- numbers and stuff.
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-08 00:21:22 +03:00
|
|
|
|
|
|
|
parser.cpp parser.h
|
2002-01-11 03:29:25 +03:00
|
|
|
- main parser source.
|
2002-03-30 03:14:18 +03:00
|
|
|
tables in parser.h:
|
2002-01-11 03:29:25 +03:00
|
|
|
enum ExprNode::Kind; types of expressions
|
|
|
|
enum StmtNode::Kind; types of statements
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-08 00:21:22 +03:00
|
|
|
|
2002-01-11 03:29:25 +03:00
|
|
|
prmjtime.[cpp|h]
|
|
|
|
- [Mac only?] OS interface routines for jsdate
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-08 00:21:22 +03:00
|
|
|
|
|
|
|
reader.cpp reader.h
|
2002-01-11 03:29:25 +03:00
|
|
|
- "Reader" class, feeds source to the parser/lexer.
|
|
|
|
|
|
|
|
regexpwrapper.cpp
|
|
|
|
- cpp front to regexp engine in regexp/regexp.[ch]
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-08 00:21:22 +03:00
|
|
|
|
|
|
|
stlcfg.h
|
2002-01-11 03:29:25 +03:00
|
|
|
- stupid stl tricks
|
|
|
|
|
|
|
|
strings.[cpp|h]
|
|
|
|
- unicode string support
|
|
|
|
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-08 00:21:22 +03:00
|
|
|
systemtypes.h
|
2002-01-11 03:29:25 +03:00
|
|
|
- basic typedefs.
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-08 00:21:22 +03:00
|
|
|
|
|
|
|
token.cpp token.h
|
2002-01-11 03:29:25 +03:00
|
|
|
- token class.
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-08 00:21:22 +03:00
|
|
|
|
|
|
|
utilities.cpp utilities.h
|
2002-01-11 03:29:25 +03:00
|
|
|
- random things.
|
initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system. currently the new make system only makes parser related files, back end stuff to be added soon.
mac and windows makesystems will be checked in next.
parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-08 00:21:22 +03:00
|
|
|
|
|
|
|
world.cpp world.h
|
2002-03-30 03:14:18 +03:00
|
|
|
- the whole world.
|