Commit graph

2704 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
7becd5f3dd The value of process.parent has to be set _before_ the thread starts. 2009-07-02 00:39:59 +02:00
Juan Jose Garcia Ripoll
70a281909a Protect sysfun.lsp from a nasty user that changes the readtable. 2009-07-02 00:13:21 +02:00
Juan Jose Garcia Ripoll
8d06d5b7fa Fix yet another typo in cmpwt.lsp. 2009-07-01 14:02:32 +02:00
Juan Jose Garcia Ripoll
79d6eb5873 Fix typo in previous patch 2009-07-01 13:57:02 +02:00
Juan Jose Garcia Ripoll
1f0289c5c6 cmpwt.lsp would add one extra space after every statically generated string constant. 2009-07-01 13:55:18 +02:00
Juan Jose Garcia Ripoll
a5d610105a Replace #' with ' to allow tracing the compiler handlers for different special forms (cmptop.lsp) 2009-06-29 14:41:34 +02:00
Juan Jose Garcia Ripoll
cd89447eec DEFCONSTANT must also define the constant at compile time. 2009-06-28 19:36:24 +02:00
Juan Jose Garcia Ripoll
0bced09c13 Note the latest changes 2009-06-26 17:28:00 +02:00
Juan Jose Garcia Ripoll
f4b6162dbf Remove an annoying compiler note 2009-06-26 17:27:48 +02:00
Juan Jose Garcia Ripoll
d1fc852e15 File positions and forms were not recorded for c1forms created with make-c1form*. Use that information during the c2 phase 2009-06-25 23:31:09 +02:00
Juan Jose Garcia Ripoll
0fa3d1651f The routine compiler-output-values and compile-file still thought that compiler-error < error and that compilation process could not be aborted. 2009-06-25 23:14:51 +02:00
Juan Jose Garcia Ripoll
f7fb503b0c Errors in evaluation and macroexpansion are intercepted by the compiler and re-signaled as compiler errors. 2009-06-25 23:03:31 +02:00
Juan Jose Garcia Ripoll
609ba59ffe Syntax errors in lambda list are intercepted and resignaled as compiler errors (cmplam.lsp) 2009-06-25 23:03:01 +02:00
Juan Jose Garcia Ripoll
53d79a8636 Changed the compiler errors hierarchy, so that they are not serious-conditions and do not launch the debugger, and also changed the handlers so that they better honor outer-established handlers first. 2009-06-25 15:54:48 +02:00
Juan Jose Garcia Ripoll
0a804a3b5b The toplevel should only trap the SERIOUS-CONDITIONs 2009-06-25 15:54:03 +02:00
Juan Jose Garcia Ripoll
d73d12ae35 Replaced some calls to ERROR with CMPERR so that they can be trapped by the user. Changed the implementation of WITH-COMPILER-ENV to avoid that all COMPILER-ERRORs are re-signaled as compiler internal errors. 2009-06-25 11:01:41 +02:00
Juan Jose Garcia Ripoll
36119c352e WITH-ECL-IO-SYNTAX also binds *pprint-dispatch-table* 2009-06-22 13:19:36 +02:00
Juan Jose Garcia Ripoll
72a003a392 WITH-STANDARD-IO-SYNTAX now also rebinds *print-pprint-dispatch*. 2009-06-22 13:16:16 +02:00
Juan Jose Garcia Ripoll
34a1ec234b The *package* in standard-io-syntax is CL-USER not CL. 2009-06-22 13:03:07 +02:00
Juan Jose Garcia Ripoll
e8de79cac5 ECL now has two sets of reader/printer settings, si:+io-syntax-progv-list+ and si:+ecl-syntax-progv-list+. The latter is used both by the compiler and by the FASL file loader, and allows for lest interference from the user side -- i.e. it is not affected by changes in the readtable, such as case preservation, etc. 2009-06-22 13:00:18 +02:00
Juan Jose Garcia Ripoll
d966444f8d The compiler must use the standard readtable to not be affected by users's choice. 2009-06-22 12:24:02 +02:00
Juan Jose Garcia Ripoll
3412355a5c Make OUTPUT-FLOAT-INFINITY and OUTPUT-FLOAT-NAN more robust against *print-circle* and other variables. 2009-06-20 19:12:39 +02:00
Juan Jose Garcia Ripoll
0bf0cfbbae Factor out the guts of PROGV into a function ecl_progv() shared by the interpreter and the compiler. 2009-06-19 14:49:29 +02:00
Juan Jose Garcia Ripoll
f89b5dd1b6 Add symbol SI:+IO-SYNTAX-PROGV-LIST+ to the list of symbols created at boot time. 2009-06-19 14:49:02 +02:00
Juan Jose Garcia Ripoll
e3611d2569 Fixed a number of typos in SI:+IO-SYNTAX-PROGV-LIST+ 2009-06-19 14:48:04 +02:00
Juan Jose Garcia Ripoll
a5ff565d68 Simplify WITH-STANDARD-IO-SYNTAX 2009-06-19 11:30:14 +02:00
Juan Jose Garcia Ripoll
27dfba57f1 The list of generated constants is no longer just floats. 2009-06-19 11:24:53 +02:00
Juan Jose Garcia Ripoll
4d4bd1ed16 The compiler now also uses the cl_core.*_package constants 2009-06-19 11:24:01 +02:00
Juan Jose Garcia Ripoll
f312a7d051 The compiler can now access cl_core for other system wide constants. Currently applied to standard readtable only. 2009-06-19 11:20:30 +02:00
Juan Jose Garcia Ripoll
0e89f235c4 Implement read-only readtables to avoid copying the standard readtable when this value is requested. 2009-06-19 11:12:49 +02:00
Juan Jose Garcia Ripoll
c0b346df78 Fixed typo. 2009-06-18 15:25:09 +02:00
Juan Jose Garcia Ripoll
a22695d621 When printing an infinity, the package name has to be made explicit. 2009-06-18 14:55:37 +02:00
Juan Jose Garcia Ripoll
901aeaa81d The analysis for tail recursion was broken in the presence of a IHS frame. 2009-06-18 12:17:50 +02:00
Juan Jose Garcia Ripoll
1e82630de0 Change obsolete comment. 2009-06-17 23:36:44 +02:00
Juan Jose Garcia Ripoll
627ee2e6b7 Even though #\Linefeed and #\Newline are the same character, only the later name must be output by CHAR-NAME 2009-06-17 23:32:31 +02:00
Juan Jose Garcia Ripoll
59a967985e si_get_library_pathname does two new things:
1) it saves the value it computes.
  2) it verifies with probe-file that the directory exists.
If this is not the case ECL must abort.
2009-06-17 23:29:47 +02:00
Juan Jose Garcia Ripoll
2366db3d38 The previous change to function-lambda-expression is incompatible with the specification 2009-06-17 23:27:01 +02:00
Juan Jose Garcia Ripoll
b5fc311d62 Changed the initialization sequence so that *default-pathname*defaults* is set before we call si_get_library_pathname in read_char_database. Fix cl_truename so that when producing directories it sets the version to NIL. 2009-06-17 21:43:26 +02:00
Juan Jose Garcia Ripoll
716aaae799 Fixed type mismatch by conversion of formatted string to base-string (D Statyvka) 2009-06-17 20:27:57 +02:00
Juan Jose Garcia Ripoll
864fc6578c If ECLDIR has no trailing / use TRUENAME to reinterpret is as a directory. 2009-06-17 20:25:10 +02:00
Juan Jose Garcia Ripoll
40d7f14305 TRUENAME now properly reinterprets file pathnames as directory pathnames if the file system shows that the user supplied a wrong value. 2009-06-17 20:20:04 +02:00
Juan Jose Garcia Ripoll
4825462d9e Better check and process the output of gray::stream-read-char 2009-06-17 20:07:05 +02:00
Juan Jose Garcia Ripoll
8c6d1908ae Fixed a problem with SI:MKSTEMP under windows (D. Statyvka) 2009-06-17 20:02:12 +02:00
Juan Jose Garcia Ripoll
fb03685bf4 Reimplemented winsock streams using the new file structures (D. Statyvka) 2009-06-17 20:00:43 +02:00
Juan Jose Garcia Ripoll
627885357f si_get_library_pathname() returned a file name, not a directory namestring 2009-06-17 19:58:44 +02:00
Juan Jose Garcia Ripoll
2d192b0e96 Allow not to read all Unicode database at once (i.e. fread may read smaller chunks) (Dmitry Statyvka) 2009-06-17 19:52:47 +02:00
Juan Jose Garcia Ripoll
6c65facae0 Note the last changes 2009-06-17 10:27:16 +02:00
Juan Jose Garcia Ripoll
1241fe1294 The inspector files now depend on the condition system. They have to be loaded after that (JCB) 2009-06-17 09:48:34 +02:00
Juan Jose Garcia Ripoll
4c4b79d9ce FUNCTION-LAMBDA-EXPRESSION now returns a fourth value, the definition of a bytecodes object. 2009-06-17 09:47:54 +02:00
Juan Jose Garcia Ripoll
43043075ac When inspecting the special variable binding stack one finds ubound variables. They are now signaled by the SI:UNBOUND constant 2009-06-17 09:45:46 +02:00