Commit graph

2692 commits

Author SHA1 Message Date
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
Juan Jose Garcia Ripoll
b26c0d723e Set the in/out/error streams to LATIN1 encoding under Windows 2009-06-16 21:16:32 +02:00
Juan Jose Garcia Ripoll
28e3ef0acb Note latest changes 2009-06-16 18:56:44 +02:00
Juan Jose Garcia Ripoll
a80c203297 Fixed typo in dependent.lips (mp:current-process -> mp:*current-process*) 2009-06-16 18:55:51 +02:00
Juan Jose Garcia Ripoll
601ea9c780 The closure environment is now passed via the Lisp environment, and not as an argument to the function. 2009-06-16 18:36:03 +02:00
Juan Jose Garcia Ripoll
7b55f82df7 #\Linefeed was removed from the list of valid char names by a previous commit. 2009-06-15 17:58:58 +02:00
Juan Jose Garcia Ripoll
49e96af5fb ecl_deliver_fpe() was declared static 2009-06-15 16:54:15 +02:00
Juan Jose Garcia Ripoll
8c0480f7e4 Only declare the feature :ieee-floating-point when built --with-ieee-fp 2009-06-15 13:59:45 +02:00
Juan Jose Garcia Ripoll
bff3f5ee3b Only include unistd.h in non-Windows ports. 2009-06-15 00:41:29 +02:00
Juan Jose Garcia Ripoll
aee567aeb2 Fixed the inline form of long-float constants in cmpct.lsp 2009-06-15 00:38:38 +02:00
Juan Jose Garcia Ripoll
cf1aa3dfc3 ATAN now provides a better approximation to PI/2 when working with long doubles 2009-06-14 23:32:46 +02:00
Juan Jose Garcia Ripoll
2acd731e9e (MINUSP -0.0) => NIL 2009-06-14 23:20:03 +02:00
Juan Jose Garcia Ripoll
984b18eef6 When using ~:c, graphic characters are not printed by name 2009-06-14 23:15:29 +02:00