Giter Site home page Giter Site logo

calimero.cl's Introduction

calimero

Calimero is a Common Lisp Shell.

Usage

Run from sources:

make run
# aka sbcl --load run.lisp

choose your lisp:

LISP=ccl make run

or build and run the binary:

$ make build
$ ./calimero
...

Roswell integration

Roswell is an implementation manager and script launcher.

A POC script is in the roswell/ directory.

Your users can install the script with vendethiel/calimero.

Dev

Tests are defined with Fiveam.

Run them from the terminal with make test. You should see a failing test.

$ make test
Running test suite TESTMAIN
 Running test TEST1 f
 Did 1 check.
    Pass: 0 ( 0%)
    Skip: 0 ( 0%)
    Fail: 1 (100%)

 Failure Details:
 --------------------------------
...

Makefile:15: recipe for target 'test' failed

$ echo $?
2

On Slime, load the test package and run run!.


Licence: BSD

calimero.cl's People

Contributors

vendethiel avatar

Watchers

 avatar  avatar

calimero.cl's Issues

add subcommands

so x (y). Probably should use the 1st (and only) emitted data.
Should error if insta done or multiple output (use | array gather).

add a command macro/EDSL

we need a macro that macrolets emit to emit data.
macro because funcall emit is zzz.
we need to either export symbols for emit or emit-data or take them as an arglist

do the butlast/dlambda(last) dance probably.

either one of

(with-input
 (emit :data "NYI"))
(with-input
 (emit-data "NYI"))
(with-input (emit emit-data)
 (emit-data "NYI"))
(with-input emit (emit-data)
 (emit-data "NYI"))
(with-input emit ((:data emit-data))
 (emit-data "NYI"))

Use uiop:define-package

  • since we only ever :use :cl we can remove it entirely
  • can use :reexport in lieu of cl-reexport (probably)
  • remove trivial-package-nicknames

Add a hashmap method combination

Errors should have a method to return a list of their data.
They can return an alist or a plist, then we merge those into a hashmap

use proper data types

we want actual data types, not [[String]]. Closer to PowerShell or even Nu.

The data package has what we need. This is pretty much the values an interpreter could produce (after all, our commands are CPS-ish coroutines...).

We need:

  • string
  • int
  • list of X
  • records of list of X=>Y
    need to consider tables (headers shared)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.