Commit Graph

1488 Commits

Author SHA1 Message Date
beard%netscape.com
c94d749d3f added new instructions, SUBTRACT, MULTIPLY, DIVICE, BRANCH_*, and RETURN. Changed LoadVar/SaveVar to have uint32 operand. Added optional paramter branchOp to ICodeGenerator::branchConditional() & endWhileExpression() to parametrize branch kind. Added complete(Register) to generate a RETURN instruction. 2000-04-06 02:57:42 +00:00
beard%netscape.com
22f7ad270e added a ref field, changed default constructor to initialize f64. 2000-04-06 02:52:51 +00:00
rogerl%netscape.com
a43377758b Resolved branch targets 2000-04-06 00:04:11 +00:00
beard%netscape.com
bb3c0f54a0 removed usage of labels (duh) 2000-04-05 23:57:51 +00:00
rogerl%netscape.com
0e8b29460c typedef'd instructions 2000-04-05 23:41:58 +00:00
beard%netscape.com
f1fef2ea55 Added default case to avoid warning 2000-04-05 21:26:01 +00:00
beard%netscape.com
f8999eeb8f added "globals", labels parameter for branches, combined some Instruction_N<> typedefs. 2000-04-05 20:33:41 +00:00
beard%netscape.com
3e4629d808 added labels parameter. 2000-04-05 20:29:09 +00:00
beard%netscape.com
fab870daa5 added Instruction::opcode(), and Instruction_N::oN(), and ICodeGenerator::getLabels(). 2000-04-05 20:28:17 +00:00
beard%netscape.com
1e6377ccaa moved declaration of lgBasicAlignment & basicAlignment inside the include guard. 2000-04-05 20:26:49 +00:00
rogerl%netscape.com
7925e76257 added missing semi in win32 case 2000-04-05 18:20:02 +00:00
beard%netscape.com
6e3b668298 added interpreter.cpp/.h 2000-04-05 18:06:04 +00:00
beard%netscape.com
d9f7558a70 linux fixes 2000-04-05 06:10:53 +00:00
beard%netscape.com
8283b89064 first crack at an icode interpreter 2000-04-05 06:05:57 +00:00
beard%netscape.com
0b18dd168a turned off '\n' -> '\r' mapping 2000-04-05 04:25:51 +00:00
beard%netscape.com
a8127fa669 backed out "fix" (thanks waldemar) 2000-04-05 04:24:19 +00:00
beard%netscape.com
1da98657a9 removed newline mapping code (instead using compiler mapping of '\n' to '\r' in literals, which should do the right thing). 2000-04-05 03:57:57 +00:00
beard%netscape.com
a1c47ffba5 added JS2MPW target (non-debug), converted MPW targets to do newline mapping (rather than using explicit override functions). 2000-04-05 03:56:34 +00:00
beard%netscape.com
561078ba6b removed DEBUG 2000-04-05 03:54:46 +00:00
beard%netscape.com
7b9a3a6d76 debug prefix for MPW tool. 2000-04-05 03:54:30 +00:00
beard%netscape.com
75fe46e792 now using gc_container<T>. 2000-04-05 02:05:12 +00:00
beard%netscape.com
200888085c convenience container types that use the GC_allocator. 2000-04-05 02:03:03 +00:00
beard%netscape.com
39293204c1 added a comment. 2000-04-05 01:55:14 +00:00
beard%netscape.com
cf49d1a5d6 making icode generation test not mutually exclusive with the REPL. 2000-04-05 00:52:47 +00:00
beard%netscape.com
dde290c866 changed to use locally built gc.o library. 2000-04-05 00:50:59 +00:00
beard%netscape.com
2dec354876 gc configuration file. 2000-04-05 00:50:32 +00:00
beard%netscape.com
a5aa982d30 local project to build the gc itself. 2000-04-05 00:50:01 +00:00
beard%netscape.com
a8a9242fac Fixing linux build: needed <algorithm> and stub implementations of parseMember, parseNonAssignmentExpression, paraseAssignmentExpression and parseExpression. 2000-04-04 23:58:30 +00:00
waldemar%netscape.com
428084c741 Updated for lexer changes 2000-04-04 21:43:28 +00:00
waldemar%netscape.com
7170168e24 Added insertChars, removed SourcePosition, and reorganized Exception class 2000-04-04 21:42:39 +00:00
waldemar%netscape.com
b620a17caf Added postfix expression parsing. Simplified Reader. 2000-04-04 21:39:59 +00:00
waldemar%netscape.com
ac3d51ea23 Updated sprintf call 2000-04-04 21:38:53 +00:00
waldemar%netscape.com
143e65e71e Updated lexer API 2000-04-04 21:38:25 +00:00
waldemar%netscape.com
2b53fb6a68 Reordered files 2000-04-04 21:37:20 +00:00
waldemar%netscape.com
cc9ba4e5b0 Fixed syntax errors 2000-04-04 21:36:57 +00:00
rogerl%netscape.com
fcd2e813a5 cleaning up the codestate classes; continue labels 2000-04-04 01:48:35 +00:00
rogerl%netscape.com
b8da7521e4 For statements. 2000-04-01 02:53:16 +00:00
rogerl%netscape.com
f4b33493b8 Added do & switch statements, more hacking at the code state thing. 2000-04-01 01:30:32 +00:00
beard%netscape.com
dff6633c76 fixing a broken header. 2000-03-31 05:47:42 +00:00
rogerl%netscape.com
820c2dd375 Changes to CodeState thing, still not happy with this - RTTI would be
better?
2000-03-31 01:54:28 +00:00
beard%netscape.com
8d72166d5d making icodegenerator work on Linux 2000-03-31 00:42:25 +00:00
beard%netscape.com
5894b78c53 added icodegenerator.cpp 2000-03-31 00:09:24 +00:00
rogerl%netscape.com
a0dcea4077 Test driver for icg in main, just a temporary thing 2000-03-29 19:24:07 +00:00
rogerl%netscape.com
98ade2a277 First hack at some icode generation. 2000-03-29 19:19:23 +00:00
waldemar%netscape.com
bc5679269d Made ifdef _WIN32 uniform 2000-03-22 00:52:06 +00:00
beard%netscape.com
3578deece1 Added gctest target, added -lm to get floor() 2000-03-09 02:11:52 +00:00
beard%netscape.com
f890b439c5 oops, commented out gc_types<T>::string. 2000-03-09 01:44:35 +00:00
beard%netscape.com
5f33cd841d g++ doesn't provide numeric_limits<T> 2000-03-09 01:35:53 +00:00
beard%netscape.com
52c6a7f379 Cleaning up for GCC 2000-03-09 01:34:57 +00:00
beard%netscape.com
83b2bf90b7 more tests, using safer auto_ptr. 2000-03-07 01:21:53 +00:00
beard%netscape.com
8875ed1f5c can't use operator new to allocate containers that use GC_allocator, because the Mac heap zone isn't scanned. 2000-03-02 21:06:36 +00:00
beard%netscape.com
e6d16f593a added gc_traits_finalizable to use GC finalization facilities to call destructors. 2000-03-02 20:58:26 +00:00
waldemar%netscape.com
a07f1abdee *** empty log message *** 2000-03-02 03:46:10 +00:00
waldemar%netscape.com
3abb50f20b Workarounds for VC6 bugs 2000-03-02 03:43:40 +00:00
waldemar%netscape.com
5afe7c41b7 Added parser output classes 2000-03-01 07:00:31 +00:00
waldemar%netscape.com
cc161a3dad Added linked list and arena destructor utilities 2000-03-01 07:00:05 +00:00
beard%netscape.com
6a76191c91 gc_traits used to control whether a type is allocated using GC_malloc vs. GC_malloc_atomic. 2000-02-29 16:03:24 +00:00
beard%netscape.com
c2f0490a2b gc_allocator test 2000-02-29 16:01:57 +00:00
beard%netscape.com
5748379d82 allocator for garbage collection 2000-02-29 01:48:02 +00:00
waldemar%netscape.com
0fca92837a Work on adding parser 2000-02-23 01:54:30 +00:00
waldemar%netscape.com
fdd3317995 Added .h files to project 2000-02-23 01:53:08 +00:00
waldemar%netscape.com
aa5e162709 Fixed non-DEBUG warning 2000-02-23 01:51:44 +00:00
waldemar%netscape.com
1385512113 Added arenas 2000-02-23 01:40:48 +00:00
waldemar%netscape.com
db41e85aa9 Backed out extraneous change 2000-02-21 19:52:47 +00:00
waldemar%netscape.com
ffbd92eb71 Added x86 gcc support 2000-02-21 19:49:21 +00:00
waldemar%netscape.com
2b2ab50498 Added debug flags 2000-02-21 19:48:45 +00:00
waldemar%netscape.com
fe36f6f9bc Unix makefile 2000-02-19 10:03:07 +00:00
waldemar%netscape.com
51fdaf2000 Updated for GCC 2000-02-19 10:01:53 +00:00
waldemar%netscape.com
1604239c48 Fixed signed/unsigned warning 2000-02-19 09:32:45 +00:00
waldemar%netscape.com
46af6a2ba4 Fixed GCC incompatibilities 2000-02-19 09:26:59 +00:00
waldemar%netscape.com
c1057de79c Fixed bug 2000-02-05 00:39:58 +00:00
waldemar%netscape.com
97ff1329f4 Fixed & bugs 2000-02-04 23:54:29 +00:00
waldemar%netscape.com
ed715c8685 Fixed syntax error 2000-02-04 23:54:08 +00:00
waldemar%netscape.com
c1326568e6 VC6 project and workspace 2000-02-03 08:27:00 +00:00
waldemar%netscape.com
aef6520d4d Updated for VC6 2000-02-03 08:25:01 +00:00
waldemar%netscape.com
445e9926e4 Turned off optimizations and inlining in debug build 2000-02-02 08:51:16 +00:00
waldemar%netscape.com
b82ff40e5d Changed to match parser.h 2000-02-02 08:50:54 +00:00
waldemar%netscape.com
0639e1baad Added ArrayAutoPtr and reworked cstring -> String conversions 2000-02-02 08:50:26 +00:00
waldemar%netscape.com
94a4726044 Added parsing of numerals and token printing 2000-02-02 08:48:40 +00:00
waldemar%netscape.com
3f3536ec17 Cleaned up and added String routines 2000-02-02 08:47:54 +00:00
waldemar%netscape.com
60f5d2006b Added lexer call 2000-02-02 08:47:03 +00:00
waldemar%netscape.com
bb68568cfc Fixed bug 2000-02-02 08:46:36 +00:00
waldemar%netscape.com
4f219e3102 Added numerics.cpp 2000-01-29 08:25:59 +00:00
waldemar%netscape.com
d3e3ede491 Fixed NOT_REACHED 2000-01-29 08:25:36 +00:00
waldemar%netscape.com
ab615dec5b Added NATIVE_INT64 flag 2000-01-29 08:25:02 +00:00
waldemar%netscape.com
7b8284b4fe First Checked In. 2000-01-29 08:24:40 +00:00
waldemar%netscape.com
fb81779831 Rearranged link order 2000-01-25 23:00:19 +00:00
waldemar%netscape.com
131c15eedd Added constructor 2000-01-25 22:59:28 +00:00
waldemar%netscape.com
599c4a7106 Added char16 and uchar16 2000-01-25 22:58:55 +00:00
waldemar%netscape.com
99a8490c0a Added string, character, and exception utilities 2000-01-25 22:58:34 +00:00
waldemar%netscape.com
0f9dbf7003 Continuing to implement 2000-01-25 22:57:32 +00:00
waldemar%netscape.com
b79a5dc2ab Switched to using appendChars 2000-01-25 22:56:48 +00:00
waldemar%netscape.com
ca9231c255 Fixed syntax error 2000-01-25 22:56:14 +00:00
waldemar%netscape.com
585909dcd3 Added unicode character category functions 2000-01-11 05:55:58 +00:00
beard%netscape.com
83bd9a3b0e initial check-in. 2000-01-11 01:46:27 +00:00
waldemar%netscape.com
d331d3a864 First Checked In. 2000-01-10 21:22:43 +00:00
waldemar%netscape.com
0df97687fd Removed field, method, and constructor. Added static. 1999-12-08 00:35:00 +00:00
waldemar%netscape.com
ac82c657bc Fixed Harlequin incompatibilities 1999-12-08 00:34:29 +00:00
waldemar%netscape.com
d11e909dcb Added next-token-unit. Simplified grammar and removed boolean actions that indicate whether the next token can be a regexp. Added assertion that a * can't follow a division. 1999-12-07 22:09:10 +00:00
waldemar%netscape.com
9d3db083d9 Added hash-table-entries 1999-12-07 22:07:04 +00:00
waldemar%netscape.com
c8ebca0bda Fixed bug in forbidden terminalset calculations 1999-12-07 22:06:43 +00:00
waldemar%netscape.com
0bd84dc104 Made semantics compiled on Allegro 1999-12-07 22:04:58 +00:00
waldemar%netscape.com
0a0d00b642 Clean grammars on allegro to save memory 1999-12-04 05:04:08 +00:00
waldemar%netscape.com
1383728082 Added canonical LR(1) grammars and grammar cleaning 1999-12-04 05:03:20 +00:00
waldemar%netscape.com
2e91b03fa0 First Checked In. 1999-12-04 05:01:34 +00:00
waldemar%netscape.com
2ad31160d0 File Removed. 1999-12-04 05:01:06 +00:00
waldemar%netscape.com
5f79a9def5 Implemented line-grammar and added utility functions for analyzing grammar state table 1999-12-03 22:53:21 +00:00
waldemar%netscape.com
bd0aff3161 Implemented variant-constraints 1999-12-03 22:52:18 +00:00
waldemar%netscape.com
7739c8a455 Implemented line-grammar 1999-12-03 22:51:27 +00:00
waldemar%netscape.com
1fcf592044 Implemented variant-constraints. Added all-state-transitions. 1999-12-03 22:50:45 +00:00
waldemar%netscape.com
61d016c3db Changed comments 1999-12-03 22:49:36 +00:00
waldemar%netscape.com
013b5906b0 First Checked In. 1999-12-03 22:49:10 +00:00
waldemar%netscape.com
d38bfa54de Added :sort-key to sorted-hash-table-keys 1999-12-03 22:48:52 +00:00
waldemar%netscape.com
fa91c627f0 Fixed MCL incompatibility 1999-11-20 04:34:42 +00:00
waldemar%netscape.com
64986b5750 Added Allegro reference 1999-11-20 02:18:26 +00:00
waldemar%netscape.com
a4ec14d393 Updated to work under Allegro Common Lisp 1999-11-20 02:16:56 +00:00
waldemar%netscape.com
8fe1116648 Changed external-link-base 1999-11-12 07:24:40 +00:00
waldemar%netscape.com
e183fc8005 Added language declarations, ?id syntax, ^^, ^^=, units. Updated list of future reserved words. Allowed definitions in compount statements. 1999-11-12 07:24:19 +00:00
waldemar%netscape.com
95a94d7895 Updated list of keywords 1999-11-12 07:22:27 +00:00
waldemar%netscape.com
1782ad0c19 Removed distribution restrictions because this is part of the language spec 1999-11-03 03:59:31 +00:00
waldemar%netscape.com
66b4ace8f4 Updated to Mozilla 1.1 license 1999-11-03 03:58:07 +00:00
waldemar%netscape.com
e2eca1f9c0 Added more no-line-break constraints, simplified visibility treatment, and added named function arguments 1999-11-02 21:12:04 +00:00
waldemar%netscape.com
b8cc67ab4e Fixed constraint positioning bug 1999-11-02 20:54:44 +00:00
waldemar%netscape.com
64dae23dfe Added basic no-line-break constraints matching JavaScript 1.x 1999-11-02 01:46:05 +00:00
waldemar%netscape.com
94d3bea1b6 Added no-line-break constraints 1999-11-02 01:45:31 +00:00
waldemar%netscape.com
1739e0f0f7 Fixed comment 1999-11-02 01:45:14 +00:00
waldemar%netscape.com
29d8232965 Added :no-line-break 1999-11-02 01:44:24 +00:00
waldemar%netscape.com
f1ffa4b377 Fixed annoying use of *error-output* that would always bring the listener window to the front while compiling a grammar 1999-11-02 01:43:52 +00:00
waldemar%netscape.com
ae9043e328 Changed bottom expressions to syntax error throws 1999-10-20 20:58:07 +00:00
waldemar%netscape.com
1e24527b04 Added upper-case Greek letters 1999-10-20 20:57:37 +00:00
waldemar%netscape.com
30f65ba3aa Removed types from bottom expressions 1999-10-20 02:27:53 +00:00
waldemar%netscape.com
d092c9ad87 First Checked In. 1999-10-20 02:27:34 +00:00
waldemar%netscape.com
1178f50d75 Changed syntax of getters and setters to "get name" and "set name". Relaxed grammar constraints on definitions. Changed over to colon syntax for types. Added local visibility and block modifiers. 1999-10-20 00:46:31 +00:00
waldemar%netscape.com
aab1c75cc8 Removed octal escapes. Replaced bottom by throw of syntax error. 1999-10-20 00:43:58 +00:00
waldemar%netscape.com
cf8b608c8c Removed octals. Removed rational-to-integer, which was replaced by semantic subtyping. Replaced bottom by throw of syntax error. 1999-10-20 00:43:22 +00:00
waldemar%netscape.com
890dfc92af Removed rational-to-integer and types in bottom calls, which were replaced by semantic subtyping 1999-10-20 00:42:17 +00:00
waldemar%netscape.com
20e07c2f9d Removed rational-to-integer, which was replaced by semantic subtyping 1999-10-20 00:41:59 +00:00
waldemar%netscape.com
2588b24207 Added semantic subtyping, throw, and catch 1999-10-20 00:40:55 +00:00
waldemar%netscape.com
333e67f4e1 Fixed bug that would sometimes emit a newline between a backslash and its following escaped character 1999-10-20 00:40:04 +00:00
waldemar%netscape.com
a63b667215 Updated for recent semantic engine changes. Changed the meaning of (?= to match Perl. 1999-07-27 01:05:59 +00:00
waldemar%netscape.com
229e628f04 Updated for recent semantic engine changes 1999-07-27 01:05:27 +00:00
waldemar%netscape.com
c7ff05cef6 Implemented partial order for operator precedences. Removed global array functions and reformatted 'length' and 'empty' functions. 1999-07-27 01:03:19 +00:00
waldemar%netscape.com
e59b7c66d6 Implemented partial order for operator precedences. Removed global array functions and reformatted 'length' and 'empty' functions. Made lexer-actions into global function calls. 1999-07-27 01:02:21 +00:00
waldemar%netscape.com
ae381708a6 Made lexer-actions into global function calls 1999-07-27 01:00:05 +00:00
waldemar%netscape.com
a9ba1329e2 Added partial order library 1999-07-27 00:58:44 +00:00
waldemar%netscape.com
b32801e030 Replaced :unit by :empty-10 1999-07-27 00:58:01 +00:00
waldemar%netscape.com
2de968d05f First Checked In. 1999-07-27 00:57:03 +00:00
waldemar%netscape.com
692562586a Fixed several semantic errors. Added (?= and (?!. 1999-06-08 00:45:49 +00:00
waldemar%netscape.com
96af4f6e5c Added statement showing number of grammar states 1999-06-08 00:44:52 +00:00
waldemar%netscape.com
aeca55ec75 Simplified grammar by using lookahead constraints. Fixed \dd bugs. Made all errors occur at pattern compile time. 1999-06-07 22:00:09 +00:00
waldemar%netscape.com
9fd6762147 Simplified grammar by using lookahead constraints. 1999-06-07 21:58:24 +00:00
waldemar%netscape.com
d2eb493880 Simplified grammar by using lookahead constraints. Removed requirement for an underscore before unit name. 1999-06-07 21:57:29 +00:00
waldemar%netscape.com
9ed3b2bfd9 First Checked In. 1999-06-03 20:53:14 +00:00
waldemar%netscape.com
78be7c3fee Added support for lookahead constraints 1999-06-03 20:52:04 +00:00
waldemar%netscape.com
a7ae00c0dd Added general-grammar-symbol? predicate 1999-06-03 20:50:21 +00:00
waldemar%netscape.com
20608c35b1 Moved pieces of file around 1999-06-03 20:49:13 +00:00
waldemar%netscape.com
3af971a8c2 First working version 1999-05-17 05:11:19 +00:00
waldemar%netscape.com
837f29ca05 Renamed != to /= and lambda to function. 1999-05-17 05:10:41 +00:00
waldemar%netscape.com
f019c1d787 Added intsets. 1999-05-17 05:10:07 +00:00
waldemar%netscape.com
7ec4e04544 Added sets, subseq, set-nth. Renamed 'lambda' to 'function'. Fixed depictions of special global variables. Added %text depictors. 1999-05-17 05:09:44 +00:00
waldemar%netscape.com
3a039ef374 Added sets, subseq, set-nth. Renamed 'lambda' to 'function' and '!=' to '/='. 1999-05-17 05:07:52 +00:00
waldemar%netscape.com
87dd865847 Added vector-assign, intersection, and union characters 1999-05-17 05:05:59 +00:00
waldemar%netscape.com
80e7c3ed1f Fixed LR(1) parser state lookahead-generation bug 1999-05-17 05:05:10 +00:00
waldemar%netscape.com
71600336ba Added RegExp to load path 1999-05-17 05:04:28 +00:00
waldemar%netscape.com
0e007f4fc6 Fixed formatting of parametrized nonterminal character classes 1999-05-17 05:04:07 +00:00
waldemar%netscape.com
0bad941063 Moved language semantics files into subdirectories 1999-05-10 21:05:42 +00:00
waldemar%netscape.com
dedb40788f Added references, predefined sets of characters, and lexer state support 1999-05-10 21:04:53 +00:00
waldemar%netscape.com
2215a3fa85 Added references and depict-styled-text 1999-05-10 21:03:07 +00:00
waldemar%netscape.com
231a8d5c02 Updated to match styles.css on documentation site 1999-05-10 21:02:22 +00:00
waldemar%netscape.com
61b0690ded Added headers, footers, document information, and reference stubs 1999-05-10 21:00:06 +00:00
waldemar%netscape.com
cd34f3ee61 Added references, :wrap, :none 1999-05-10 20:58:56 +00:00
waldemar%netscape.com
eb2f087b4a Added references 1999-05-10 20:57:17 +00:00
waldemar%netscape.com
ee4de03b3e Added references, unfinished YACC input generator 1999-05-10 20:56:47 +00:00
waldemar%netscape.com
985cfa7218 Added references, default actions, combined rules 1999-05-10 20:55:59 +00:00
waldemar%netscape.com
22dc1bf442 Added references, combined rules 1999-05-10 20:54:25 +00:00
waldemar%netscape.com
2eb1a7f08f First Checked In. 1999-05-10 20:52:58 +00:00
waldemar%netscape.com
edbf5e6f81 File Removed. 1999-05-10 20:50:37 +00:00
waldemar%netscape.com
df5313caca Added traditional and super and changed [] to allow multiple arguments 1999-02-19 04:28:16 +00:00
waldemar%netscape.com
19a63d44ad Added getter, setter, with, default arguments, and renamed declarations to definitions 1999-02-12 04:59:19 +00:00
waldemar%netscape.com
7a360c2e1b Added option to turn off line breaks within a tag 1999-02-12 04:57:49 +00:00
waldemar%netscape.com
6df0ef89ae First complete release 1999-02-10 06:42:20 +00:00
waldemar%netscape.com
e75cae8813 Reorganized left-side-expression and suppressed unused nonterminal warnings 1999-02-10 06:41:43 +00:00
waldemar%netscape.com
2214cc83e8 Added :spc 1999-02-10 06:40:53 +00:00
waldemar%netscape.com
456ff1626c Added support for excluding some nonterminals from grammar 1999-02-10 06:39:58 +00:00
waldemar%netscape.com
a06317aa40 File Removed. 1999-02-06 03:25:19 +00:00
waldemar%netscape.com
8668c26664 First Checked In. 1999-02-06 03:21:09 +00:00
waldemar%netscape.com
c7963158ca Removed spaces from file names 1999-02-06 03:20:35 +00:00
waldemar%netscape.com
94049c5d56 First Checked In. 1999-01-30 01:19:00 +00:00