Questions tagged [ecl]

Embeddable Common Lisp (ECL) is an open source Common Lisp implementation aimed at producing a small-footprint Lisp system that can be integrated with C-based applications.

56 questions
1
vote
0 answers

Removing ASDF dependency from compiled program

I want to compile an ECL program into a standalone, portable executable. But no matter what I try, it still needs to load "asdf" to work. This is partially an AB problem, since I want to remove ASDF dependency because when run with valgrind, my…
Reverent Lapwing
  • 283
  • 2
  • 11
1
vote
1 answer

ECL: The filesystem does not accept filenames with extended characters

how do you open a file of which name contains UTF-8 character? For example: (open "~/a/你好.txt") give this: The filesystem does not accept filenames with extended characters: "~/a/你好.txt" I'm using ecl 16.1.3 from emerge from gentoo. Meantime, sbcl…
C-Entropy
  • 303
  • 2
  • 9
1
vote
0 answers

In RCPTT, how do you verify the state of a SWT.CHECK menu item?

I have an Eclipse based application that has a context menu with items that when clicked on once cause the menu to disappear. If the menu is opened again those items are checked (their style is SWT.CHECK). If clicked on again they are unchecked. In…
1
vote
1 answer

What does first parameter in ecl_init_module do?

According to some parts of ECL manual, necessary part of the library (that has been compiled by lisp) initialisation in C program is performing its initialisation as: ecl_init_module(NULL, init_func_for_library); In all examples provided first…
Srv19
  • 3,458
  • 6
  • 44
  • 75
1
vote
0 answers

Embeddable Common Lisp (ECL) nmake error on Win7-64 bit

I am trying to install nmake on my windows 7 64-bit version, however, I am getting the following error. I downloaded ECL source code from the following link: ECL Gitlab Repository Afterwards, I used a visual studio tool named "Visual Studio 2008…
Neel0507
  • 1,094
  • 2
  • 11
  • 18
1
vote
3 answers

Building an executable with ECL: missing dependency or can not find make-build in asdf/interface

I'm trying to build an executable with ECL. I looked at the doc and this other SO question, where we learn that with ECL v <= 16.1.3 we must add a (require 'adsf) Then I push my project to the asdf registry: (pushnew "~/projects/my-project/"…
Ehvince
  • 17,274
  • 7
  • 58
  • 79
1
vote
1 answer

Sage: Catch MACSYMA-QUIT is Undefined

My Situation When I'm using the sage.all module just on the normal python shell, sage.all throws an error on running methods like solve or assume: >>> import sage.all as sg;a=sg.var('a');sg.assume(a==0); Traceback (most recent call last): File…
fdj815
  • 569
  • 1
  • 7
  • 15
1
vote
1 answer

cannot start ECL when using QuickLisp

$ecl ;;; Loading "/home/***/quicklisp/setup.lisp" ;;; Loading #P"/usr/local/lib/ecl-12.7.1/cmp.fas" ;;; Loading #P"/usr/local/lib/ecl-12.7.1/asdf.fas" ASDF could not load sockets because An error occurred during initialization: Error while trying to…
z_axis
  • 8,272
  • 7
  • 41
  • 61
1
vote
2 answers

Why isnot the local variable freed?

The test function is as below: (defun fab (n) (let ((res '(1 1))) (loop for i from 2 to n do (nconc res (list (+ (nth (- i 2) res) (nth (- i 1) res))))) res)) $ecl ... EECL (Embeddable Common-Lisp) 12.7.1…
z_axis
  • 8,272
  • 7
  • 41
  • 61
1
vote
2 answers

Can I specify directory for shell command?

I use the following function to run shell commands: (defun sh (cmd) #+clisp (shell cmd) #+ecl (si:system cmd) #+sbcl (sb-ext:run-program "/bin/sh" (list "-c" cmd) :input nil :output*standard-output*) #+clozure (ccl:run-program "/bin/sh"…
z_axis
  • 8,272
  • 7
  • 41
  • 61
0
votes
1 answer

Lisp: why does this code throw a "function x is undefined" error?

I am trying to create a card guessing game in lisp (ECL). However i get an error. (defun random-card () (coerce '( (char (random 4) "SCDH") (char (random 13) "A23456789JQK")) 'string) ) (defun…
0
votes
0 answers

Split a logical file on HPCC

I want to split a huge logical file in equal part so that I can process them in batches. Is there a way, I can split a logical file in multiple parts on HPCC Thor?
0
votes
0 answers

0: request to https://play.hpccsystems.com:18010/WsSMC/Activity.json failed, reason: unable to get local issuer certificate

Every time I run an ECL file in VS Code, I am getting this error: 0: request to https://play.hpccsystems.com:18010/WsSMC/Activity.json failed, reason: unable to get local issuer certificate. However, it was working fine until an hour ago. I tried…
0
votes
0 answers

Use of distribute for sort and then deduping the sorted dataset gives inconsistent / incorrect result

The output derived from the following two statements is different. Can someone please help me understand / correct me ? ds_dist := dedup(sort(distribute(ds,hash64(field1)),field1,local),field1); ds_nodist := dedup(sort(ds,field1),field1); If i do…
0
votes
1 answer

How to solve NOTES keeps showing the execution security warning window?

1.No action 2.Perform this action this time 3.Trust the signer to perform this action of this Notes session 4.Start trusting the signer to perform this action Some users will appear in the "Enforce Security Alert" window when using NOTES. At…
Ariel
  • 57
  • 6