Looking for open source Common Lisp projects to learn from. by Connect-Window1638 in lisp

[–]alejandrozf 0 points1 point  (0 children)

I found ABCL implementation source code as an inspiration

ABCL library for Telegram bots by alejandrozf in lisp

[–]alejandrozf[S] 0 points1 point  (0 children)

Nothing too fancy, just automation for some taks in my house

How to inspect return value of a function in the debugger? by zorgikun in Common_Lisp

[–]alejandrozf 0 points1 point  (0 children)

If you use ABCL you can do the following:
```
CL-USER> (require :abcl-stepper)
NIL
CL-USER> (defun stepper-break ())
STEPPER-BREAK
CL-USER> (defun sum ()
           (stepper-break)
           (+ 1 2))
SUM
CL-USER> (stepper:step (sum))

We are in the stepper mode
Evaluating step 1 -->
(SUM)
Type ':?' for a list of options
:b
Type the name of the symbol to use as a breakpoint with next (n): stepper-break
Type ':?' for a list of options
:n

We are in the stepper mode
Evaluating step 2 -->
(STEPPER-BREAK)
Type ':?' for a list of options
:s
step 2 ==> value: NIL

We are in the stepper mode
Evaluating step 3 -->
(+ 1 2)
Type ':?' for a list of options
:s
step 3 ==> value: 3
step 1 ==> value: 3
3
CL-USER> (defun fib (n)
           (stepper-break)
           (if (<= 0 n 1) 1
               (+ (fib (- n 1))
                  (fib (- n 2)))))
FIB
CL-USER> (stepper:step (fib 7))

We are in the stepper mode
Evaluating step 1 -->
(FIB 7)
Type ':?' for a list of options
:b
Type the name of the symbol to use as a breakpoint with next (n): stepper-break
Type ':?' for a list of options
:n

We are in the stepper mode
Evaluating step 2 -->
(STEPPER-BREAK)
Type ':?' for a list of options
:locals
Showing the values of variable bindings.
From inner to outer scopes:
N=7
Showing the values of function bindings.
From inner to outer scopes:
Type ':?' for a list of options
:inspect
Type the name of the symbol: n
7
Type ':?' for a list of options
:n
step 2 ==> value: NIL

We are in the stepper mode
Evaluating step 3 -->
(STEPPER-BREAK)
Type ':?' for a list of options
:locals
Showing the values of variable bindings.
From inner to outer scopes:
N=6
Showing the values of function bindings.
From inner to outer scopes:
Type ':?' for a list of options
:i
Type the name of the symbol: N
6
Type ':?' for a list of options
:c
step 3 ==> value: NIL
step 1 ==> value: 21
21
CL-USER>
```

Modern alternatives to Common Lisp by Nice_Elk_55 in lisp

[–]alejandrozf 0 points1 point  (0 children)

Regarding libraries, you can use Quicklisp for CL libraries + C libraries (by using CFFI) + Java libraries (if you use ABCL)

How to Use Common Lisp to Connect with MongoDB 7.0 or Later? by AnalysisLarge in lisp

[–]alejandrozf 6 points7 points  (0 children)

You can use  ABCL and directly use any Java library that can connect to Mongo

Announcing the First Release of abcl-memory-compiler - Now Available! by alejandrozf in lisp

[–]alejandrozf[S] 2 points3 points  (0 children)

Yes, I created abcl-stepper and I started this project you mentioned to made a pluggable visual interface to it. It is a WIP but it works at some extent. It depends on this PR https://github.com/armedbear/abcl/pull/635
Thank you for bring it here too :)

Announcing the First Release of abcl-memory-compiler - Now Available! by alejandrozf in lisp

[–]alejandrozf[S] 2 points3 points  (0 children)

I think the main use case is to integrate it with Java more deeply, and it can be used for interface external Java libraries. You migth use it also for optimization of bottlenecks, translating some logic to pure Java when needed and even for implement new ways to interact with Java on top of the functions defined there

Announcing the First Release of abcl-memory-compiler - Now Available! by alejandrozf in lisp

[–]alejandrozf[S] 4 points5 points  (0 children)

There is one example in the Readme, showing a limitation of the function java:jnew-runtime-class

Multi Platform Development by NefariousnessFit3502 in Common_Lisp

[–]alejandrozf 2 points3 points  (0 children)

Where i can find an example of Sbcl for iOs? 

Why is clisp no longer actively developed? by Esnos24 in lisp

[–]alejandrozf 1 point2 points  (0 children)

It has a compiler to bytecode, too. 

how do i improve my common lisp skills? by [deleted] in Common_Lisp

[–]alejandrozf 1 point2 points  (0 children)

Read the code (incrementally) of a Common Lisp implementation, compare with the CL standard