You can subscribe to this list here.
2000 |
Jan
(81) |
Feb
(55) |
Mar
(459) |
Apr
(159) |
May
(126) |
Jun
(69) |
Jul
(48) |
Aug
(29) |
Sep
(106) |
Oct
(76) |
Nov
(155) |
Dec
(161) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(122) |
Feb
(150) |
Mar
(294) |
Apr
(124) |
May
(197) |
Jun
(266) |
Jul
(111) |
Aug
(259) |
Sep
(163) |
Oct
(142) |
Nov
(101) |
Dec
(86) |
2002 |
Jan
(187) |
Feb
(108) |
Mar
(274) |
Apr
(157) |
May
(346) |
Jun
(242) |
Jul
(345) |
Aug
(187) |
Sep
(263) |
Oct
(69) |
Nov
(30) |
Dec
(76) |
2003 |
Jan
(125) |
Feb
(191) |
Mar
(87) |
Apr
(69) |
May
(107) |
Jun
(66) |
Jul
(112) |
Aug
(161) |
Sep
(184) |
Oct
(137) |
Nov
(28) |
Dec
(61) |
2004 |
Jan
(148) |
Feb
(99) |
Mar
(365) |
Apr
(225) |
May
(311) |
Jun
(204) |
Jul
(95) |
Aug
(214) |
Sep
(256) |
Oct
(290) |
Nov
(239) |
Dec
(152) |
2005 |
Jan
(253) |
Feb
(183) |
Mar
(178) |
Apr
(88) |
May
(175) |
Jun
(195) |
Jul
(122) |
Aug
(81) |
Sep
(119) |
Oct
(200) |
Nov
(110) |
Dec
(179) |
2006 |
Jan
(154) |
Feb
(64) |
Mar
(55) |
Apr
(69) |
May
(66) |
Jun
(64) |
Jul
(80) |
Aug
(59) |
Sep
(62) |
Oct
(90) |
Nov
(132) |
Dec
(106) |
2007 |
Jan
(58) |
Feb
(51) |
Mar
(59) |
Apr
(19) |
May
(33) |
Jun
(52) |
Jul
(15) |
Aug
(50) |
Sep
(41) |
Oct
(259) |
Nov
(323) |
Dec
(136) |
2008 |
Jan
(205) |
Feb
(128) |
Mar
(203) |
Apr
(126) |
May
(307) |
Jun
(166) |
Jul
(259) |
Aug
(181) |
Sep
(217) |
Oct
(265) |
Nov
(256) |
Dec
(132) |
2009 |
Jan
(104) |
Feb
(81) |
Mar
(27) |
Apr
(21) |
May
(85) |
Jun
(237) |
Jul
(243) |
Aug
(199) |
Sep
(178) |
Oct
(151) |
Nov
(64) |
Dec
(39) |
2010 |
Jan
(33) |
Feb
(146) |
Mar
(125) |
Apr
(109) |
May
(52) |
Jun
(135) |
Jul
(103) |
Aug
(68) |
Sep
(99) |
Oct
(88) |
Nov
(45) |
Dec
(56) |
2011 |
Jan
(19) |
Feb
(32) |
Mar
(50) |
Apr
(105) |
May
(46) |
Jun
(22) |
Jul
(101) |
Aug
(80) |
Sep
(52) |
Oct
(16) |
Nov
(10) |
Dec
(29) |
2012 |
Jan
(8) |
Feb
(22) |
Mar
(17) |
Apr
(68) |
May
(19) |
Jun
(19) |
Jul
(12) |
Aug
(6) |
Sep
(13) |
Oct
(5) |
Nov
(5) |
Dec
(5) |
2013 |
Jan
(6) |
Feb
(4) |
Mar
(3) |
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(6) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
(16) |
Apr
(1) |
May
(8) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
(8) |
Mar
(23) |
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
(7) |
Sep
(1) |
Oct
|
Nov
|
Dec
(5) |
2016 |
Jan
|
Feb
|
Mar
(16) |
Apr
(6) |
May
(53) |
Jun
(19) |
Jul
(3) |
Aug
(39) |
Sep
(24) |
Oct
(2) |
Nov
(19) |
Dec
|
2017 |
Jan
(13) |
Feb
(44) |
Mar
(208) |
Apr
(12) |
May
(94) |
Jun
(54) |
Jul
(18) |
Aug
(52) |
Sep
(12) |
Oct
(22) |
Nov
(27) |
Dec
(93) |
2018 |
Jan
(85) |
Feb
(28) |
Mar
(16) |
Apr
(47) |
May
(16) |
Jun
(15) |
Jul
(10) |
Aug
(3) |
Sep
(5) |
Oct
|
Nov
(6) |
Dec
|
2019 |
Jan
(4) |
Feb
(6) |
Mar
(12) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2020 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(6) |
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2022 |
Jan
(2) |
Feb
|
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(10) |
Oct
(5) |
Nov
|
Dec
|
2023 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
(9) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
(28) |
Dec
(3) |
2025 |
Jan
(8) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Sam S. <sd...@po...> - 2016-06-22 22:33:33
|
Daniel, the mid-term eval is now. what is your status? did you manage to build clisp with rawsock on windows? if yes, please build a binary distribution ("make -f Makefile.devel distrib") and make the binary available for download. everyone with access to a windows box: please download and test. alas, I am on vacation with sporadic internet access at best, so I would appreciate any help I could get. thanks -- Sam Steingold <http://sds.podval.org> <http://www.childpsy.net/> |
From: Daniel J. <dan...@gm...> - 2016-06-21 08:47:42
|
Pascal wrote: > Since the name of the C structure is regex_t, and since it contains > one useful slot (re_nsub), perhaps you could name the type regex, > and provide a regex-nsub reader. Done. Regarding the multiple values: regexp-exec allows to specify the return type: multiple values, list, vector, boolean. > IMO, it should always return multiple values, or always return a > sequence. I'd say to be consistent then, that is returning multiple values when they're requested, and to follow what you wrote: > just limit nmatch to multiple-values-limit or the actual number of > expected values. I pushed these changes to my "working fork". |
From: Pascal J. B. <pj...@in...> - 2016-06-19 17:55:15
|
Daniel Jour <dan...@gm...> writes: > I'm currently working on the regexp module (I'm still here in case > anyone wondered). I've a few questions / suggestions: > > I think it would be good to have regexp-exec fail when there are more > matches than the number of possible return values and it was specified > to return the matches as multiple values. This would go contrary to the CL specification that says that when a function returns more values than expected, the superfluous values are just ignored: (setf r (truncate 3 2)) ; would fail otherwise… > Currently, regexp-exec then > just returns the results as a list: > > // ... > switch (rettype) { > case ret_values: > if (re_count < fixnum_to_V(Symbol_value(S(multiple_values_limit)))) { > STACK_to_mv(re_count); > break; > } /* else FALLTHROUGH */ > case ret_list: VALUES1(listof(re_count)); break; > // ... > > This could lead to surprises, when e.g. calling: > > (multiple-value-list (match some-pattern some-string)) > > When match returns multiple values, one get's a list with the > matches. But when - because of a different pattern - there are more > matches then suddenly this returns a list with the list of matches, > which could confuse code using the result. It's probably not that > critical as one needs to have a pattern with 127 sub-expressions > or more, though. Indeed, this behavior is bad. IMO, it should always return multiple values, or always return a sequence. Returning groups in multiple values ---------------------------------------- In CL, multiple-values-limit is 128. The maximum number of groupings in POSIX regexp is not limited (only the maximum number of groupings that can be referenced in posix regexp is limited to 9). Furthermore, the caller of regexec specifies the number of matches it expects. regexec will not return information about the remaining groups. These semantics are very compatible: just limit nmatch to multiple-values-limit or the actual number of expected values. (nmatch = 1+nsub, includes the group representing the whole regexp). Returning groups in sequences ---------------------------------------- However, if we wanted to match regexps with more than 127 groups, we'd have to get the resulting group matches in vectors. cl-ppcre returns 4 values, including two vectors to hold the group matches: http://weitz.de/cl-ppcre/#scan In emacs lisp, the results are stored in a (hidden) global variable that can be accessed thru functions such as match-beginning, match-end, match-string, so basically with an internal sequence of unlimited size. On one hand multiple values are a little more practical to use, and it's rare to have more than 127 groups in a regexp. On the other hand, returning vectors is a common API, and allows for any number of groups without limitation. This is also basically what the underlying C API does. In conclusion, it might be better to return the same thing as cl-ppcre:scan: match-start, match-end, reg-starts, reg-ends. > Next, currently regex-compile returns a foreign-pointer, and > regex-exec expects a foreign pointer. Thus I could supply regexp-exec > with a foreign pointer acquire from some other function, resulting in > undefined behavior (because regexp-exec blindly assumes it to be a > regex_t * ). AFAIK the policy for CLISP is to not just crash on such > errors. As solution, I'd wrap the foreign pointer in a (defstruct > pattern pointer). Are there any objections against this? Since the name of the C structure is regex_t, and since it contains one useful slot (re_nsub), perhaps you could name the type regex, and provide a regex-nsub reader. -- __Pascal Bourguignon__ http://www.informatimago.com/ “The factory of the future will have only two employees, a man and a dog. The man will be there to feed the dog. The dog will be there to keep the man from touching the equipment.” -- Carl Bass CEO Autodesk |
From: Daniel J. <dan...@gm...> - 2016-06-19 12:46:40
|
I'm currently working on the regexp module (I'm still here in case anyone wondered). I've a few questions / suggestions: I think it would be good to have regexp-exec fail when there are more matches than the number of possible return values and it was specified to return the matches as multiple values. Currently, regexp-exec then just returns the results as a list: // ... switch (rettype) { case ret_values: if (re_count < fixnum_to_V(Symbol_value(S(multiple_values_limit)))) { STACK_to_mv(re_count); break; } /* else FALLTHROUGH */ case ret_list: VALUES1(listof(re_count)); break; // ... This could lead to surprises, when e.g. calling: (multiple-value-list (match some-pattern some-string)) When match returns multiple values, one get's a list with the matches. But when - because of a different pattern - there are more matches then suddenly this returns a list with the list of matches, which could confuse code using the result. It's probably not that critical as one needs to have a pattern with 127 sub-expressions or more, though. Next, currently regex-compile returns a foreign-pointer, and regex-exec expects a foreign pointer. Thus I could supply regexp-exec with a foreign pointer acquire from some other function, resulting in undefined behavior (because regexp-exec blindly assumes it to be a regex_t * ). AFAIK the policy for CLISP is to not just crash on such errors. As solution, I'd wrap the foreign pointer in a (defstruct pattern pointer). Are there any objections against this? |
From: Daniel J. <dan...@gm...> - 2016-06-02 23:02:00
|
Loic wrote: > In the same time I'am trying to port the project on Visual Studios 2015, > some part of the projects compile for now. I'd be very interested in the changes you had to make. Please, if you have the time, share your experiences :) Loic wrote: > I'am interested to contribute to the project, but the list of tasks > (Help wanted), is up to date ? I wrote the libmagic module, though - as I did this mainly as a learning exercise - it's still very rough (also due to that libmagic is not exactly best documented, sigh). |
From: Sam S. <sd...@gn...> - 2016-06-02 22:13:19
|
> * Loïc Maury <yznhel@tznvy.pbz> [2016-05-28 22:29:24 +0200]: > > I'am interested to contribute to the project, but the list of tasks > (Help wanted), is up to date ? Yes, http://clisp.org/wanted.html is as relevant as ever. The main task now is to make a release, and Daniel is working on that now as a GSoC project. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 16.04 (xenial) X 11.0.11803000 http://www.childpsy.net/ http://palestinefacts.org http://jihadwatch.org http://openvotingconsortium.org http://iris.org.il http://dhimmi.org If your VCR is still blinking 12:00, you don't want Linux. |
From: Sam S. <sd...@gn...> - 2016-06-02 22:09:25
|
> * Daniel Jour <qnavry.bregjvt@tznvy.pbz> [2016-05-31 09:26:46 +0200]: > > I wonder though, why is this not part of CLISP (i.e. not a module)? > The socket interface of CLISP could be perfectly well build on top of "rawsock", > or - if speed is an issue - on the underlying C functions. > Is the "overhead" of providing access to the functions (i.e. the LISP<->C > conversions, the additional subrs) really that crucial? high-level socket interface was written long before the rawsock module. there was a talk about turning it into a module, but it was deemed too important. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 16.04 (xenial) X 11.0.11803000 http://www.childpsy.net/ http://camera.org http://thereligionofpeace.com http://mideasttruth.com http://iris.org.il http://truepeace.org Don't wait for the rain to end. Learn to dance in the rain! |
From: Daniel J. <dan...@gm...> - 2016-05-31 07:26:53
|
Sam wrote: > This module _IS_ that "socket library". That was exactly what I needed to know :) Reading the rest of the discussion, as well as what Don wrote: > TCP/IP uses sockets but not raw sockets. I think the name of the module is really unfortunate. "rawsock" could plausibly mean all of the following: * "raw access" to (the general concept of) sockets (which it actually is) * access to OS specific sockets * access to "raw sockets", i.e. SOCK_RAW A better name would probably be something like BSD sockets, or even POSIX sockets. I wonder though, why is this not part of CLISP (i.e. not a module)? The socket interface of CLISP could be perfectly well build on top of "rawsock", or - if speed is an issue - on the underlying C functions. Is the "overhead" of providing access to the functions (i.e. the LISP<->C conversions, the additional subrs) really that crucial? |
From: Loïc M. <lm...@gm...> - 2016-05-28 20:29:32
|
Hello, On Fri, May 27, 2016 at 7:42 PM, Sam Steingold <sd...@gn...> wrote: > Hi, > > > * Loïc Maury <yznhel@tznvy.pbz> [2016-05-26 10:50:12 +0200]: > > > > I'am trying to compile the source code of CLisp on Windows 8.1, but > without > > success. > > I don't think anyone has ever done that. > > > I have installed the third library (ffcall, gettext-runtime, libiconv, > > libsigsegv), > > > > however I'am blocked at CLisp/src when I do nmake (after copied > > > > win32msvc to src\makefile, and follow steps). > > > > the compiler return to me : > > > > cl : Command line error D8022 : cannot open 'CPPFLAGS@' with the command > > > > cl @CPPFLAGS@ -I/gllib -G5 -Os -Oy -Ob1 -Gs -Gf -Gy -U__GNUC__ -DANSI > > -D_M_IX86=500 -D_WIN32 -I"C:\\Program Files (x86)\\Microsoft Visual > Studio > > 12.0\\VC"/include -DENABLE_UNICODE @INCTERMCAP@ -DDYNAMIC_FFI > -DNO_GETTEXT > > -I. ..\utils\comment5.c /Fecomment5.exe > > > > Do you have any idea of the error ? > > your makefile should have no "@" in it. > they are supposed to be replaced by configure, but you are not using it > with msvs. > this means that you need to edit it and replace all things like > @CPPFLAGS@ with something appropriate for your situation. > specifically, @CPPFLAGS@ and @X_LIBS@ can probably be removed. > @LTLIBSIGSEGV@ should point to the place where you installed libsigsegv. > &c &c. > I will try it, thank you. In the same time I'am trying to port the project on Visual Studios 2015, some part of the projects compile for now. I'am interested to contribute to the project, but the list of tasks (Help wanted), is up to date ? Best Loic > > PS. this will not be a joyride, sorry. > > PPS. You might want to consider mingw instead. > > -- > Sam Steingold (http://sds.podval.org/) on Ubuntu 16.04 (xenial) X > 11.0.11803000 > http://www.childpsy.net/ http://islamexposedonline.com http://dhimmi.org > http://think-israel.org http://palestinefacts.org http://mideasttruth.com > Lisp: Serious empowerment. > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Garanti sans virus. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2> |
From: Pascal J. B. <pj...@in...> - 2016-05-28 11:09:30
|
<Joe...@t-...> writes: > Hi, > > Loïc Maury wrote: >> however I'am blocked at CLisp/src when I do nmake (after copied >> win32msvc to src\makefile, and follow steps). > >> cl @CPPFLAGS@ -I/gllib -G5 -Os -Oy -Ob1 -Gs -Gf -Gy -U__GNUC__ -DANSI >> -D_M_IX86=500 -D_WIN32 -I"C:\\Program Files (x86)\\Microsoft Visual >> Studio 12.0\\VC"/include -DENABLE_UNICODE @INCTERMCAP@ -DDYNAMIC_FFI -DNO_GETTEXT >> -I. ..\utils\comment5.c /Fecomment5.exe > Sam>PPS. You might want to consider mingw instead. > > Isn't there an ancient Makefile.MSVC5 or MSVC6 in the repository? Maybe that's > a useful base for the base clisp (pun intended). I heard MS-Windows 10 supported bash (and actually a whole linux personality). Perhaps it could be used as a development environment to compile the MS-Windows binaries? Disclaimer: I don't know anything about Microsoft softwares. -- __Pascal Bourguignon__ http://www.informatimago.com/ “The factory of the future will have only two employees, a man and a dog. The man will be there to feed the dog. The dog will be there to keep the man from touching the equipment.” -- Carl Bass CEO Autodesk |
From: Raymond T. <toy...@gm...> - 2016-05-27 19:50:40
|
>>>>> "Pascal" == Pascal J Bourguignon <pj...@in...> writes: Pascal> Now, all those variables can (and most of them probably should) be set Pascal> in the rc file (~/.clisprc.lisp, etc) by the user. Pascal> The consequences are that: Pascal> 1- as a user, you must know what you've put in the rc file, and Pascal> therefore what is the current setting of those variables. You could Pascal> have: Pascal> (SETF (READTABLE-CASE *READTABLE*) :PRESERVE) Pascal> in your rc file, and use uppercase letters (their real case) for all Pascal> the CL symbols. Pascal> 2- I would argue that library sources should NOT assume a readtable, and Pascal> like they include a IN-PACKAGE form at the start of each source file, Pascal> they should also include a form setting the *readtable*, such as: Pascal> (EVAL-WHEN (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE) Pascal> (SETF *READTABLE* (COPY-READTABLE NIL))) Pascal> in each source file, or at the very least, there should be a way in Pascal> ASDF (and other similar system definition systems), to specify the Pascal> readtable to be used to load and read the sources of the library. If a user wants to make his life difficult in using other peoples' code, go for it. Maybe hack your own load and compile-file function to change the read table case. Sane people just use the default and enjoy being able to use other people's code without problems. -- Ray |
From: Sam S. <sd...@gn...> - 2016-05-27 19:23:45
|
> * Don Cohen <qba...@vf...3-vap.pbz> [2016-05-27 18:14:37 +0000]: > > Sam Steingold writes: > > > Sockets are the OS-level interface to TCP/IP. > > Thus all the functions in rawsock can, should(must!) and did work on all > > "modern" operating systems (i.e., linux, *bsd including mac os x, > > windows xp and later, all other unixes released after 2000 - but not on > > atari and amiga). > > TCP/IP uses sockets but not raw sockets. > I agree that TCP/IP should work on windows, but it can do so > without rawsock working. > It did, long before rawsock was added, and I hope still does. CLISP has "normal" socket interface and the "rawsock" module. both are cross-platform and both should (and did) work on all platforms were CLISP works. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 16.04 (xenial) X 11.0.11803000 http://www.childpsy.net/ http://islamexposedonline.com http://ffii.org http://dhimmi.org http://www.dhimmitude.org http://camera.org UNIX is a way of thinking. Windows is a way of not thinking. |
From: <don...@is...> - 2016-05-27 18:14:44
|
Sam Steingold writes: > Sockets are the OS-level interface to TCP/IP. > Thus all the functions in rawsock can, should(must!) and did work on all > "modern" operating systems (i.e., linux, *bsd including mac os x, > windows xp and later, all other unixes released after 2000 - but not on > atari and amiga). TCP/IP uses sockets but not raw sockets. I agree that TCP/IP should work on windows, but it can do so without rawsock working. It did, long before rawsock was added, and I hope still does. |
From: <Joe...@t-...> - 2016-05-27 18:13:33
|
Hi, Loïc Maury wrote: > however I'am blocked at CLisp/src when I do nmake (after copied > win32msvc to src\makefile, and follow steps). > cl @CPPFLAGS@ -I/gllib -G5 -Os -Oy -Ob1 -Gs -Gf -Gy -U__GNUC__ -DANSI > -D_M_IX86=500 -D_WIN32 -I"C:\\Program Files (x86)\\Microsoft Visual > Studio 12.0\\VC"/include -DENABLE_UNICODE @INCTERMCAP@ -DDYNAMIC_FFI -DNO_GETTEXT > -I. ..\utils\comment5.c /Fecomment5.exe Sam>PPS. You might want to consider mingw instead. Isn't there an ancient Makefile.MSVC5 or MSVC6 in the repository? Maybe that's a useful base for the base clisp (pun intended). Rationale: I used it -- over a decade ago -- to build CLISP with MSVC98 (yeah). However, I can't remember the details, I guess I cheated a little bit and ran configure first from a Linux machine, with the MS-Windows HD exported over Samba, so as to generate the basic files like comment5.c, config.h, eval.c etc. Then I returned to the MS-Windows machine and had MSVC compile and link the .c files. Well, given comment5.exe, ansidecl.exe etc., perhaps MSVC was able to generate eval.c from eval.d on its own after all. I definitely never installed MingW or cygwin on the MS-Windows machine. Note that I only ever built the base lisp.exe -- without any modules except the dynamic FFI. These days, I believe the build system creates a separate executable named clisp.exe that dispatches to the various subdirectories in which the varying lisp.exe were built including whatever modules (among those that need C code) were additionally compiled (witness the difference between the base and the full linking set). The grunge work that the scripts in the current repository do may be limited to support for MingW or cygwin or UNIX, I don't know. Regards, Jörg. |
From: Sam S. <sd...@gn...> - 2016-05-27 17:43:02
|
Hi, > * Loïc Maury <yznhel@tznvy.pbz> [2016-05-26 10:50:12 +0200]: > > I'am trying to compile the source code of CLisp on Windows 8.1, but without > success. I don't think anyone has ever done that. > I have installed the third library (ffcall, gettext-runtime, libiconv, > libsigsegv), > > however I'am blocked at CLisp/src when I do nmake (after copied > > win32msvc to src\makefile, and follow steps). > > the compiler return to me : > > cl : Command line error D8022 : cannot open 'CPPFLAGS@' with the command > > cl @CPPFLAGS@ -I/gllib -G5 -Os -Oy -Ob1 -Gs -Gf -Gy -U__GNUC__ -DANSI > -D_M_IX86=500 -D_WIN32 -I"C:\\Program Files (x86)\\Microsoft Visual Studio > 12.0\\VC"/include -DENABLE_UNICODE @INCTERMCAP@ -DDYNAMIC_FFI -DNO_GETTEXT > -I. ..\utils\comment5.c /Fecomment5.exe > > Do you have any idea of the error ? your makefile should have no "@" in it. they are supposed to be replaced by configure, but you are not using it with msvs. this means that you need to edit it and replace all things like @CPPFLAGS@ with something appropriate for your situation. specifically, @CPPFLAGS@ and @X_LIBS@ can probably be removed. @LTLIBSIGSEGV@ should point to the place where you installed libsigsegv. &c &c. PS. this will not be a joyride, sorry. PPS. You might want to consider mingw instead. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 16.04 (xenial) X 11.0.11803000 http://www.childpsy.net/ http://islamexposedonline.com http://dhimmi.org http://think-israel.org http://palestinefacts.org http://mideasttruth.com Lisp: Serious empowerment. |
From: Sam S. <sd...@gn...> - 2016-05-27 17:31:33
|
> * Daniel Jour <qnavry.bregjvt@tznvy.pbz> [2016-05-27 00:40:35 +0200]: > > I'm currently working on getting the rawsock module up-to-date and running > on the major target platforms. I got a bit unsure about the real purpose, > the "goal" of that module, though: > > The documentation suggests that it's providing access to what sys/socket.h > provides, i.e. "raw" access to sockets. Indeed, rawsock originated with Fred & Don Cohens, who wrote it for some very low level access to networking. > Windows doesn't have sys/socket.h, but rather WinSock2. While there are > a lot of similarities between those (IIRC that was one of the design goals > of WinSock) they're certainly different in some parts. Sockets are the OS-level interface to TCP/IP. Thus all the functions in rawsock can, should(must!) and did work on all "modern" operating systems (i.e., linux, *bsd including mac os x, windows xp and later, all other unixes released after 2000 - but not on atari and amiga). Yes, windows is an oddball system, this is why we have a problem now, and this is precisely the problem this project is supposed to address. > Unifying both sys/socket.h and WinSock2 behind the same interface > seems to be a contradiction to the "raw" access to me, though. If > that's the goal of the module, wouldn't it be much better to have a > module providing access to some "socket library"? This module _IS_ that "socket library". > Or would it be useful to split the rawsock module in platform dependent > modules, just like it's done with bindings/glibc and bindings/win32? The idea of the module is to have it working on _all_ modern OS OOTB, without "os-specific" interfaces all over the place. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 16.04 (xenial) X 11.0.11803000 http://www.childpsy.net/ http://honestreporting.com http://memri.org http://dhimmi.org http://mideasttruth.com If you know that you know nothing, you know too much. |
From: <don...@is...> - 2016-05-27 15:58:00
|
Since nobody else seems to be answering this, I'll try to provide a little feedback. Rawsock is used to control the network behavior of a machine, e.g., to make it act as a non-standard router or a new type of network security device, or just to make small changes in how an otherwise normal machine behaves. It's also useful for writing your own tcpdump, generating packets for experimenting with network attacks and defenses or just learning how things work. I assume that rawsock doesn't currently work on windows. I don't know that it has ever worked anywhere other than linux. Making it work anywhere else seems to me far off the track of a new release. So I'd say just view it as platform specific. If it doesn't work in linux then it's worth fixing there. If it looks like it's on the verge of working somewhere else it might be worth a small amount of effort, a little more if there's evidence that it worked there some time before. |
From: Pascal J. B. <pj...@in...> - 2016-05-26 22:52:47
|
Chris Stacy <cs...@dt...> writes: > On May 26, 2016, at 1:48 PM, Pascal J. Bourguignon > <pj...@in...> wrote: > > Raymond Toy <toy...@gm...> writes: > I think you meant upcasing. 'ABC and 'abc are both the same > symbol > whose name is "ABC". > > > Wrong: > > cl-user> (EQ 'ABC 'abc) > NIL > cl-user> (MAPCAR 'SYMBOL-NAME '(ABC Abc abc)) > ("ABC" "Abc" "abc”) > > > I think someone reading this might get confused about case in Common > Lisp. > Normally, (eq ‘abc ‘ABC) => T of course, since READ upcases symbols. > Also (eq #’eq #’EQ) => T for example. > But symbol names are case-sensitive, and Pascal’s confounding example > above > left out the part where he trickily altered the “readtable case” of > the current reader, > causing it ti preserve case. Notice that he typed uppercase EQ, > because the > symbol-name of EQ is (like all Common Lisp built-ins) actually > uppercase. > > See: http://www.lispworks.com/documentation/lw51/CLHS/Body/23_aba.htm > > Don’t want to confuse any readers about the readers… Yes, I left out the setting of the readtable-case. >:-} ; SLIME 2015-06-01 cl-user> (setf (readtable-case *readtable*) :preserve) :PRESERVE cl-user> (EQ 'ABC 'abc) NIL cl-user> (MAPCAR 'SYMBOL-NAME '(ABC Abc abc)) ("ABC" "Abc" "abc") cl-user> (SETF (READTABLE-CASE *READTABLE*) :UPCASE) :upcase cl-user> (eq 'ABC 'abc) t cl-user> The important word in this thread was: Sam Steingold <sd...@gn...> writes: >> * Daniel Jour <qnavry.bregjvt@tznvy.pbz> [2016-05-15 21:40:41 +0200]: >> >> Given the ignorance of case prevalent in Common Lisp, > > the only places where this happens are: > 1. reader is case-converting by default ^^^^^^^^^^ "BY DEFAULT" The initial value of global variables, and the initial configurations of the objects they refer to, can be left undefined (implementation-dependent), for example: Variable *PRINT-PRETTY* Initial Value: implementation-dependent. or a default initial value can be specified by the standard: Variable *READTABLE* Initial Value: A readtable that conforms to the description of Common Lisp syntax in Section 2 (Syntax). 2.1.1.3 The Initial Readtable says that the initial *readtable* conforms to the standard syntax, which is defined by the Standard Readtable, and: 2.1.1.2 The Standard Readtable says that: The readtable case of the standard readtable is :upcase. (By the way, my reading of section 2.1.1.3 is that implementations should not deviate from the standard readtable, eg. they should not provide implementation specific reader macros in the initial readtable (as ccl does, for example)). Now, all those variables can (and most of them probably should) be set in the rc file (~/.clisprc.lisp, etc) by the user. The consequences are that: 1- as a user, you must know what you've put in the rc file, and therefore what is the current setting of those variables. You could have: (SETF (READTABLE-CASE *READTABLE*) :PRESERVE) in your rc file, and use uppercase letters (their real case) for all the CL symbols. 2- I would argue that library sources should NOT assume a readtable, and like they include a IN-PACKAGE form at the start of each source file, they should also include a form setting the *readtable*, such as: (EVAL-WHEN (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE) (SETF *READTABLE* (COPY-READTABLE NIL))) in each source file, or at the very least, there should be a way in ASDF (and other similar system definition systems), to specify the readtable to be used to load and read the sources of the library. -- __Pascal Bourguignon__ http://www.informatimago.com/ “The factory of the future will have only two employees, a man and a dog. The man will be there to feed the dog. The dog will be there to keep the man from touching the equipment.” -- Carl Bass CEO Autodesk |
From: Daniel J. <dan...@gm...> - 2016-05-26 22:40:42
|
I'm currently working on getting the rawsock module up-to-date and running on the major target platforms. I got a bit unsure about the real purpose, the "goal" of that module, though: The documentation suggests that it's providing access to what sys/socket.h provides, i.e. "raw" access to sockets. Windows doesn't have sys/socket.h, but rather WinSock2. While there are a lot of similarities between those (IIRC that was one of the design goals of WinSock) they're certainly different in some parts. (I guess this is mostly due to sockets not being guaranteed to be file handles and the way one does asynchronous IO) Unifying both sys/socket.h and WinSock2 behind the same interface seems to be a contradiction to the "raw" access to me, though. If that's the goal of the module, wouldn't it be much better to have a module providing access to some "socket library"? Or would it be useful to split the rawsock module in platform dependent modules, just like it's done with bindings/glibc and bindings/win32? |
From: Chris S. <cs...@dt...> - 2016-05-26 21:26:50
|
> On May 26, 2016, at 1:48 PM, Pascal J. Bourguignon <pj...@in...> wrote: > > Raymond Toy <toy...@gm...> writes: > >>>>>>> "Sam" == Sam Steingold <sd...@gn...> writes: >> >>>> * Daniel Jour <qnavry.bregjvt@tznvy.pbz> [2016-05-15 21:40:41 +0200]: >>>> >>>> Given the ignorance of case prevalent in Common Lisp, >> >> Sam> the only places where this happens are: >> Sam> 1. reader is case-converting by default >> >> I think you meant upcasing. 'ABC and 'abc are both the same symbol >> whose name is "ABC". > > Wrong: > > cl-user> (EQ 'ABC 'abc) > NIL > cl-user> (MAPCAR 'SYMBOL-NAME '(ABC Abc abc)) > ("ABC" "Abc" "abc”) I think someone reading this might get confused about case in Common Lisp. Normally, (eq ‘abc ‘ABC) => T of course, since READ upcases symbols. Also (eq #’eq #’EQ) => T for example. But symbol names are case-sensitive, and Pascal’s confounding example above left out the part where he trickily altered the “readtable case” of the current reader, causing it ti preserve case. Notice that he typed uppercase EQ, because the symbol-name of EQ is (like all Common Lisp built-ins) actually uppercase. See: http://www.lispworks.com/documentation/lw51/CLHS/Body/23_aba.htm Don’t want to confuse any readers about the readers… |
From: Pascal J. B. <pj...@in...> - 2016-05-26 17:48:38
|
Raymond Toy <toy...@gm...> writes: >>>>>> "Sam" == Sam Steingold <sd...@gn...> writes: > > >> * Daniel Jour <qnavry.bregjvt@tznvy.pbz> [2016-05-15 21:40:41 +0200]: > >> > >> Given the ignorance of case prevalent in Common Lisp, > > Sam> the only places where this happens are: > Sam> 1. reader is case-converting by default > > I think you meant upcasing. 'ABC and 'abc are both the same symbol > whose name is "ABC". Wrong: cl-user> (EQ 'ABC 'abc) NIL cl-user> (MAPCAR 'SYMBOL-NAME '(ABC Abc abc)) ("ABC" "Abc" "abc") -- __Pascal Bourguignon__ http://www.informatimago.com/ “The factory of the future will have only two employees, a man and a dog. The man will be there to feed the dog. The dog will be there to keep the man from touching the equipment.” -- Carl Bass CEO Autodesk |
From: Loïc M. <lm...@gm...> - 2016-05-26 08:50:19
|
Hello, I'am trying to compile the source code of CLisp on Windows 8.1, but without success. I have installed the third library (ffcall, gettext-runtime, libiconv, libsigsegv), however I'am blocked at CLisp/src when I do nmake (after copied win32msvc to src\makefile, and follow steps). the compiler return to me : cl : Command line error D8022 : cannot open 'CPPFLAGS@' with the command cl @CPPFLAGS@ -I/gllib -G5 -Os -Oy -Ob1 -Gs -Gf -Gy -U__GNUC__ -DANSI -D_M_IX86=500 -D_WIN32 -I"C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC"/include -DENABLE_UNICODE @INCTERMCAP@ -DDYNAMIC_FFI -DNO_GETTEXT -I. ..\utils\comment5.c /Fecomment5.exe Do you have any idea of the error ? Thank you Best Loic Maury |
From: Raymond T. <toy...@gm...> - 2016-05-24 22:57:42
|
>>>>> "Sam" == Sam Steingold <sd...@gn...> writes: >> * Daniel Jour <qnavry.bregjvt@tznvy.pbz> [2016-05-15 21:40:41 +0200]: >> >> Given the ignorance of case prevalent in Common Lisp, Sam> the only places where this happens are: Sam> 1. reader is case-converting by default I think you meant upcasing. 'ABC and 'abc are both the same symbol whose name is "ABC". -- Ray |
From: Sam S. <sd...@gn...> - 2016-05-24 20:33:04
|
> * Daniel Jour <qnavry.bregjvt@tznvy.pbz> [2016-05-24 02:03:04 +0200]: > > Regarding gnulib and modules: One issue is about linking against > gnulib both for the main CLISP binary as well as for modules (like > bindings/glibc). In https://sourceforge.net/p/clisp/bugs/634/ you > mention that the increased size is not an issue on linux but possibly > on other targets. Do you know which targets? the farther the target is from GNU, the more gnulib will re-implement. you should probably ask the gnulib list for details, but I suspect that windows is the prime example. at any rate, RAM is relatively cheap these days, so I don't think this is such a big deal now. > I fear that there's not really a much better solution, though. One could > try to isolate a set of gnulib modules that are "guaranteed" to be (including > all unused functions, thus completely) linked with the CLISP binary, so that > all CLISP modules don't need to link against these parts of gnulib. This > might be fragile to maintain and keep in synch, though. this is probably less of a problem than you think, but it is not in scope. the problem is that things like rawsock do not run on windows. > I also remember a post on the gnulib list (I think from Bruno) on > building part of gnulib as a shared library, but cannot find atm. (I > think it was MinGW related, too) this is related to the above issue - they had to make it shared because it rivals glibc in size :-( -- Sam Steingold (http://sds.podval.org/) on Ubuntu 16.04 (xenial) X 11.0.11803000 http://www.childpsy.net/ http://iris.org.il http://jihadwatch.org http://islamexposedonline.com http://palestinefacts.org http://think-israel.org Time would have been the best Teacher, if it did not kill all its students. |
From: Pascal J. B. <pj...@in...> - 2016-05-24 19:45:37
|
Sam Steingold <sd...@gn...> writes: >> * Pascal J. Bourguignon <cwo@vasbezngvzntb.pbz> [2016-05-15 23:05:38 +0200]: >> >> cl-user> (eq #P"/tmp/Foo" #P"/tmp/foo") >> nil > > you meant equal, not eq, right? Yes, sorry. -- __Pascal Bourguignon__ http://www.informatimago.com/ “The factory of the future will have only two employees, a man and a dog. The man will be there to feed the dog. The dog will be there to keep the man from touching the equipment.” -- Carl Bass CEO Autodesk |