[Chicken-users] ANN: New parley version 0.9 quasselstrippe available
Dear chicken fans, maybe a few of you use the line editing egg parley for their project or daily csi editing. Then this will be interesting news to you: Version 0.9 quasselstrippe has been released. I have been debugging and refactoring parley a lot lately. As a result parley has now a better (read smaller, hopefully bug free) single line editing mode and a not much bigger (in terms of code) multi line editing mode. single line editing is the default. You can enable multiline editing mode by placing (refresh-line multiline-refresh) in your .csirc. One caveat though: The API for key handlers has changed. The parley state is now kept in a record with the essential getters/setters exported. Please see the wiki and the example section on how to do this now. I hope this won't cause too much discomfort but it has helped to reduce code repetition tremendously (it seemed such a good idea at the time ;)) Please let me know if this improves or worsens your editing. Happy chatting with your REPL! Christian -- May you be peaceful, may you live in safety, may you be free from suffering, and may you live with ease. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] IDE for Beginners
Hi there, I am currently using Sublime Text 2 with Sublime REPL to fool around with Chicken Scheme. It does not work perfect, but until now it has been the best solution apart from using the REPL in the command prompt in Windows 7. However, it seems that sublimeREPL can not handle larger data structures. I froze once I read it a 20 kB cvs file. I have fooled around with a couple of other editors that have a REPL functionality, notably LightTable and Emacs. I liked the first option a lot, and was definatly overwhelmed bu the second. Emacs might be extremely usful, but I do not plan to learn all those crypting commands to learn to write and REPL some scheme code. Is there a simplified version of EMACS with an installer for Windows based systems? What light weight REPL-IDE solution do you use except Emacs? Windows Power Shell (this was a joke.. )? Any nice guides on how to set up ST2/SublimeREPL properly? Cheers, Piotr ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] IDE for Beginners
* mfv m...@freeshell.de [141202 14:12]: Hi there, I am currently using Sublime Text 2 with Sublime REPL to fool around with Chicken Scheme. It does not work perfect, but until now it has been the best solution apart from using the REPL in the command prompt in Windows 7. However, it seems that sublimeREPL can not handle larger data structures. I froze once I read it a 20 kB cvs file. Maybe this is unrelated to the IDE you tunnel through csi but rather an issue with csi itself: When you say once do you mean you just did it 1 time? Please keep in mind that every result in csi will get bound to a value (the numbers in the prompt) to make them accessible later. As a consequence of this if you return large data structures then this will consume your memory and cannot be freed since those symbols are bound. you can use the ,ch (clear history) command in csi to clear those again. Does this solve your problem? Kind regards, Christian -- May you be peaceful, may you live in safety, may you be free from suffering, and may you live with ease. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] IDE for Beginners
Hello to another freeshell user :), Just a part of an answer, Most Lispy stuff is heavilty biased towards Emacs I'm afraid. Not a problem for people that like Emacs, like me, but using anything else can often feel like paddling against the current. Except for the data structure thing, what else are you missing or isn't working in your current set-up? Maybe the Emacs Starters Kit is something for you: https://eschulte.github.io/emacs24-starter-kit/ there is no easy Windows bases installer I'm afraid. Cheers, Richard mfv writes: Hi there, I am currently using Sublime Text 2 with Sublime REPL to fool around with Chicken Scheme. It does not work perfect, but until now it has been the best solution apart from using the REPL in the command prompt in Windows 7. However, it seems that sublimeREPL can not handle larger data structures. I froze once I read it a 20 kB cvs file. I have fooled around with a couple of other editors that have a REPL functionality, notably LightTable and Emacs. I liked the first option a lot, and was definatly overwhelmed bu the second. Emacs might be extremely usful, but I do not plan to learn all those crypting commands to learn to write and REPL some scheme code. Is there a simplified version of EMACS with an installer for Windows based systems? What light weight REPL-IDE solution do you use except Emacs? Windows Power Shell (this was a joke.. )? Any nice guides on how to set up ST2/SublimeREPL properly? Cheers, Piotr ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users -- ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Strange behavior of Chicken Scheme interpreter on Windows 7
Thank you for your fast answer :) My target is to have a standalone archive file (including Chicken + GCC) that I can copy on my USB key and use on different computers. Usage: portable Chicken scheme development environment for Windows without admin privileges. It probably already exist somewhere, but I didn't find the URL. I got something not so far from my needs with chicken-iup prebuilt files and a small batch script which override CHICKEN_INSTALL_PREFIX and CHICKEN_PREFIX. Now I would like to compile Chicken from sources for Windows 32 and 64 bits. Perhaps this has something to do with mingw32-64. Did you read the README instructions to invoke mingw32-make with ARCH=x86-64 and use forward slashes in all paths? If not, does that help? If it doesn't help, is it at all possible to do a 32-bit build on 64-bit Windows? If I don't add the option ARCH=x86-64 the compilation phase fails when compiling ASM instructions for apply-hack function. I guess x64 ASM have a different instruction set from 32 bits. From what I understand, there is no way to cross-compile for Windows 32 bits from a 64 bits host with ming32-64. If you use ARCH=x86-64 it means both HOST and TARGET are 64 bits. Did you use mingw 32 bits? Which version? I would like to try on my side. Actually I did read the README, but I didn't follow all the instructions: - I didn't set PREFIX, coming from Linux world, I expect it to be the current directory by default - Since I override 2 variables at execution level, it should have no issue Anyway, I have just tried again to compile with an absolute PREFIX including drive letter and normal slash /. The issue remains. I tried with the 2 compilers. Honestly, I don't understand the needs to have an absolute PREFIX. In the common cases, when you want to use unix tools on Windows, you just have to override the PATH locally with batch script. Can you confirm the PREFIX is not mandatory and can be overridden by environment variables at execution level? Regards, Pascal - Mail original - De: Peter Bex peter@xs4all.nl À: comb...@laposte.net Cc: chicken-users@nongnu.org Envoyé: Lundi 1 Décembre 2014 23:15:26 Objet: Re: [Chicken-users] Strange behavior of Chicken Scheme interpreter on Windows 7 On Mon, Dec 01, 2014 at 03:40:10PM +0100, comb...@laposte.net wrote: Hi everybody, Hello and welcome to CHICKEN! My problem is not really an issue, since the scheme interpreter is working correctly in my test conditions. But I noticed a strange behavior on Chicken interpreter with my 4.9.0.1 build of Chicken. Expected behavior: - open cmd.exe and cd to the build directory - type csi - the current version, build date and additional information is displayed in the SAME terminal - the REPL let write Scheme program in the SAME terminal This is what should happen. Observed behavior: - open cmd.exe and cd to the build directory - type csi - A new window is opened (looks like a cmd.exe terminal), the current version, build date and additional information is displayed in this window - (wait around 15 seconds) - The new window is automatically closed (!) and all the output of the closed window in redirected in the original terminal This definitely should not happen. This behavior does not appears in the prebuilt binaries of chicken-iup (32 bits). 2 questions: - This behavior is it normal? Can it be explained? It is definitely not normal, and I can't explain it. I've never seen this happen, and I've built CHICKEN on Windows quite a few times already. - How to avoid this behavior? Without knowing why it happens, I'm afraid I can't tell you how to avoid it. Conditions: - Windows 7 64-bits, Intel - Compiled from sources with Mingw (tried with mingw32-64 SJLC, mingw32-64 FEH) - Chicken Scheme 4.9.0.1 (also tried with chicken-4.6.3, chicken-4.8.0.5, chicken-4.8.1) - With the makefile.mingw and makefile.mingw-MSYS (msys binaries of 2011) Perhaps this has something to do with mingw32-64. Did you read the README instructions to invoke mingw32-make with ARCH=x86-64 and use forward slashes in all paths? If not, does that help? If it doesn't help, is it at all possible to do a 32-bit build on 64-bit Windows? Cheers, Peter -- http://www.more-magic.net ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users