Skip to content

Bool-vector type not supported by elsa-reader #228

@wtianyi

Description

@wtianyi

When processing ansi-color.el, e.g.

(elsa-process-file "/opt/homebrew/Cellar/emacs-mac/emacs-29.1-mac-10.0/share/emacs/29.1/lisp/ansi-color.el.gz")

A bool vector #&8"\0" at line 975 is not recognized, leading to an error "Invalid form" is thrown

(t (error "Invalid form")))))

It seems that bool-vector-p can be used to check whether it's a bool vector, and the corresponding type does exist in Elsa:

(defclass elsa-type-bool-vector (elsa-type elsa-simple-type eieio-singleton) ())

However, I lack the knowledge to add the elsa-form- class and the reader for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions