Commit graph

573 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
df52c01a30 Changed order of libraries so that -lpthread appears after any kind of -lgc (detected or created by ECL). 2009-06-01 15:29:37 +02:00
Juan Jose Garcia Ripoll
9ed3b8d762 Remove the previous warning about the compiled file extensions 2009-05-18 10:45:59 +02:00
Juan Jose Garcia Ripoll
fa2cb50c1e Rewrite ENSURE-VALID-FILE-EXTENSION to allow the CONTINUE restart do what it should. Change the variable that rules the behavior to EXT::*UNKNOWN-FILE-TYPES* so that it can be set in ~/.eclrc without loading the compiler. 2009-05-17 13:29:33 +02:00
Juan Jose Garcia Ripoll
78d5ab27f1 The file types in *load-hooks* are strings, so we have to search with string= 2009-05-17 13:09:58 +02:00
Juan Jose Garcia Ripoll
ea55f580ec Fixed typo 2009-05-17 13:04:21 +02:00
Juan Jose Garcia Ripoll
400d00d619 More informative message when COMPILE-FILE gets passed an unknown output file type. 2009-05-17 13:02:03 +02:00
Juan Jose Garcia Ripoll
ba61e87926 Respect the user's choice of binary file extensions in COMPILE-FILE, allowing the registration of new file types when they are unknown to LOAD. 2009-05-17 12:39:52 +02:00
Juan Jose Garcia Ripoll
47d594912f Create two functions for writing comments in and out-of-line, and use them to write the compiled file header (compiler, date, etc). 2009-05-02 15:14:27 +02:00
Juan Jose Garcia Ripoll
38eea852ab Compiled files now carry some comments with the source they came from. 2009-05-02 14:39:01 +02:00
Samium Gromoff
4a5d2a691f Compiler input designation. 2009-05-02 10:12:23 +02:00
Samium Gromoff
0a841482dc SIMPLE-CONDITION's initarg is called :FORMAT-ARGUMENTS 2009-04-17 14:52:52 +02:00
Juan Jose Garcia Ripoll
0424caf763 Do not pass a location to CALL-UNKNOWN-GLOBAL when we do not have a function object. 2009-04-02 15:20:56 +02:00
Juan Jose Garcia Ripoll
989990e7e7 Wrong # of arguments to c2call-global in c2fset. 2009-04-02 15:20:56 +02:00
Juan Jose Garcia Ripoll
e2fe75e9c6 The code generated by cmpcbk.lsp passed a wrong # of arguments to ecl_apply_from_stack_frame(). 2009-04-02 15:20:54 +02:00
Juan Jose Garcia Ripoll
005dc07061 Added the possibility of bytecompiling forms and saving them. New module bytecmp uses this to implement COMPILE and COMPILE-FILE. 2009-04-01 02:29:48 +02:00
Juan Jose Garcia Ripoll
93d9283b91 Remove bogus inline expander for CHAR/SCHAR in sysfun.lsp 2009-03-31 11:02:47 +02:00
Juan Jose Garcia Ripoll
ecf055bc5a Fixes for the Windows port, including a flag to make ANSI C streams the default file type. 2009-03-30 14:42:16 +02:00
Juan Jose Garcia Ripoll
64f2670874 Remove function array declaration, which does not work in C++ 2009-03-28 23:06:53 +01:00
Juan Jose Garcia Ripoll
00892c7569 In wt-call, coerce directly to cl_object so that C++ compiler dos not complain. 2009-03-28 23:06:27 +01:00
Juan Jose Garcia Ripoll
a490be86fa Merge branch 'master' into new_cfun 2009-03-23 22:25:55 +01:00
Juan Jose Garcia Ripoll
7cf74b073b Remove debug statements 2009-03-23 22:17:27 +01:00
Juan Jose Garcia Ripoll
b62f153ed3 Merge in the latest changes from master branch 2009-03-23 21:51:32 +01:00
Juan Jose Garcia Ripoll
3835a482f8 Do not use closures to allow debugging c1let/c1let* 2009-03-23 20:09:42 +01:00
Juan Jose Garcia Ripoll
1c214bf454 Inline MAKE-ARRAY in terms of MAKE-PURE-ARRAY and FILL-ARRAY-WITH-ELT/SEQ, and output the array type. 2009-03-07 11:53:06 +01:00
Juan Jose Garcia Ripoll
acda56e602 Export C name for FILL-ARRAY-WITH-SEQ 2009-03-07 11:52:31 +01:00
Juan Jose Garcia Ripoll
d4c9460c32 Fix the criteria for using inlined expansions from sysfun.lsp. 2009-03-06 23:51:17 +01:00
Juan Jose Garcia Ripoll
d9919fa312 Ignore TYPE declarations that contain a function type, even if it is a DEFTYPE'd one. 2009-02-27 20:05:40 +01:00
Juan Jose Garcia Ripoll
22b070d0ac Removed ecl_stack_{push,pop,set_index}. Fixed ECL_STACK_SET_INDEX. 2009-02-25 20:52:48 +01:00
Juan Jose Garcia Ripoll
8fe85d2e7c Introduce ECL_STACK_INDEX macro 2009-02-25 19:11:28 +01:00
Juan Jose Garcia Ripoll
16849b5eb3 In C++ it is not possible to forward-declare a static array. We thus have to change the code for building the compiler_cfuns[] array in compiled code. 2009-02-23 14:13:53 +01:00
Juan Jose Garcia Ripoll
21747e54da Missing definition for cl_env_copy. 2009-02-23 11:58:14 +01:00
Juan Jose Garcia Ripoll
c6fe981f87 The generation of new block ids is now thread safe. 2009-02-21 23:26:42 +01:00
Juan Jose Garcia Ripoll
8004e7e027 Removed the entry_fixed pointer because we are not using it. 2009-02-21 22:51:36 +01:00
Juan Jose Garcia Ripoll
44d23d1cdf Factor the code for creating stack frames from varargs. Removed some arguments from ecl_apply_from_stack_frame and _ecl_standard_dispatch. 2009-02-17 23:40:27 +01:00
Juan Jose Garcia Ripoll
77907601b0 SEARCH-KEYWORD is used very often, add it to the list of C exported functions 2009-02-16 16:03:58 +01:00
Juan Jose Garcia Ripoll
83e6a0f77e Simplified the C code for fast function calls. 2009-02-16 12:44:28 +01:00
Juan Jose Garcia Ripoll
a475d5bcba Simplified c2call-global by taking the type propagation for (SETF AREF)/AREF into separate functions 2009-02-15 23:53:03 +01:00
Juan Jose Garcia Ripoll
21ab17c30b During compilation of function calls, the NARG parameter is useless, since it can be calculated. 2009-02-15 20:05:53 +01:00
Juan Jose Garcia Ripoll
6d1fafc608 Minor correction in comments. 2009-02-15 19:48:07 +01:00
Juan Jose Garcia Ripoll
ed0a29b5b9 Simplified C2FUNCALL eliminating unused code 2009-02-15 19:40:17 +01:00
Juan Jose Garcia Ripoll
b331ae3523 FUNCTION forms have output type FUNCTION 2009-02-15 19:39:47 +01:00
Juan Jose Garcia Ripoll
fffb57cc2a Small comment on call-global c1forms 2009-02-15 19:39:23 +01:00
Juan Jose Garcia Ripoll
afdd5b9831 Small typo. 2009-02-15 18:58:23 +01:00
Juan Jose Garcia Ripoll
8697d90d4b The {instance,bytecodes,bclosure}.entry{,_fixed} fields were not always filled 2009-02-15 16:25:01 +01:00
Juan Jose Garcia Ripoll
85cf59cee6 Fixed typo. 2009-02-15 13:19:04 +01:00
Juan Jose Garcia Ripoll
75d0ea3434 Allow calling a function object directly by the entry pointer. 2009-02-15 13:10:24 +01:00
Juan Jose Garcia Ripoll
b2d8447f1a FUNCTION is now a valid compiler type 2009-02-15 13:07:45 +01:00
Juan Jose Garcia Ripoll
a1bc92b05c Changed the way closures are invoked, to make them similar to generic functions and bytecodes 2009-02-15 12:05:56 +01:00
Juan Jose Garcia Ripoll
f35ca512a2 Code for directly using the pointers in function objects. 2009-02-15 00:06:49 +01:00
Juan Jose Garcia Ripoll
3eb2c66b9d New function for safety policy regarding assumed types of function arguments. 2009-02-15 00:05:36 +01:00