Coder Social home page Coder Social logo

Can we use CALM on Mobile? about calm HOT 7 CLOSED

vitovan avatar vitovan commented on June 12, 2024
Can we use CALM on Mobile?

from calm.

Comments (7)

Hellseher avatar Hellseher commented on June 12, 2024 2

Hi,

Thanks for your project!

I'm about to pack it for Guix and faced with issue to compile it by using ECL.

;;; Internal error:
;;;   ** There is no package with the name SB-EXT.An error occurred during initialization:
COMPILE-FILE-ERROR while compiling #<cl-source-file "calm" "calm">.
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "/gnu/store/cawsqjfnnv7qd0qdjq7jmlqp440jqx8m-ecl-21.2.1/bin/ecl" arguments: ("--eval" "(require :asdf)" "--eval" "(asdf:initialize-source-registry (list :source-registry (list :tree (uiop:ensure-pathname \"/gnu/store/xcy4p2pja182h59c4lzw2y9kvlbik4kw-ecl-calm-0.0.33/share/common-lisp/ecl/calm\" :truenamize t :ensure-directory t)) :inherit-configuration))" "--eval" "(asdf:load-system \"calm\")" "--eval" "(quit)") exit-status: 1 term-signal: #f stop-signal: #f>

SBCL compilation passed successfully and I'll propose the package to be included to package base of Guix.

from calm.

VitoVan avatar VitoVan commented on June 12, 2024 1

@Hellseher

The current code base is only expected to be working on SBCL, but it could be easily changed to be compatible with ECL.

I will add a higher priority for this task #88

Thanks for your interest and efforts.

from calm.

VitoVan avatar VitoVan commented on June 12, 2024 1

@Hellseher

The current code base could be successfully ran with ECL, you could try the latest release with:

CALM_HOST_LISP=ecl calm

The changes could be found here: https://github.com/VitoVan/calm/pull/90/files

I don't know if this helped for the Guix packaging, please let me know if anything still not working.

Since I failed to find the equivalent sb-ext:save-lisp-and-die for ECL, so I haven't managed to implement all the features provided in CALM for ECL (i.e. dump binary).

I'm still reading this, and will let you know if I made any further progress.

from calm.

Hellseher avatar Hellseher commented on June 12, 2024 1

Hi @VitoVan

Thank you for your work!

The latest release of CALM is accepted to Guix and available for SBCL and ECL implementations.

https://packages.guix.gnu.org/packages/sbcl-calm/
https://packages.guix.gnu.org/packages/ecl-calm/

It could help to distribute reproducible packages :) (Check how it's used in Nyxt web browser https://github.com/atlas-engineer/nyxt/blob/master/build-scripts/nyxt.scm)

Regards,
Oleg

from calm.

VitoVan avatar VitoVan commented on June 12, 2024

I have added a new issue to track ECL single-executable support: #91

from calm.

VitoVan avatar VitoVan commented on June 12, 2024

Hi @Hellseher

Thank you for adding this into Guix!

Guix seems cool, thank you for mentioning nyxt.scm, I am checking it now.

from calm.

VitoVan avatar VitoVan commented on June 12, 2024

Considering:

  1. CALM applications now could work on mobile browsers (check these examples)
  2. I don't think I will have time to deal with iOS or Android

I'm closing this issue now.

from calm.

Related Issues (20)

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.