clavier
:heavy_check_mark: General purpose validation library for Common Lisp (by mmontone)
prompt-for
Type safe user input. (by hyotang666)
clavier | prompt-for | |
---|---|---|
2 | 1 | |
17 | 2 | |
- | - | |
6.6 | 4.2 | |
3 months ago | almost 2 years ago | |
Common Lisp | Common Lisp | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
clavier
Posts with mentions or reviews of clavier.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-28.
-
Form validation in Common Lisp
(defun validate-all (validators object) "Run all validators in turn. Return two values: the status (boolean), and a list of messages. Allow a keyword validator: :allow-blank. Accepts a blank value. If not blank, validate." ;; I wanted this to be part of clavier, but well. ;; https://github.com/mmontone/clavier/pull/10 (let ((messages nil) (valid t)) (loop for validator in validators if (and (eql :allow-blank validator) (str:blankp object)) return t else do (unless (symbolp validator) (multiple-value-bind (status message) (clavier:validate validator object :error-p nil) (unless status (setf valid nil)) (when message (push message messages))))) (values valid (reverse (uiop:ensure-list messages)))))
-
Favorite user input and validation library?
There's also clavier: https://github.com/mmontone/clavier (but didn't try it)
prompt-for
Posts with mentions or reviews of prompt-for.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-28.
-
Favorite user input and validation library?
I'm looking for something like Genera's old `prompt-and-read`. It doesn't have to be as full-featured as that, which can do nearly anything you could want. The only two I could find, duologue and prompt-for have some dependencies that I'd rather do without.
What are some alternatives?
When comparing clavier and prompt-for you can also consider the following projects:
duologue - High level user interaction library for Common Lisp
clog - CLOG - The Common Lisp Omnificent GUI
clasp - clasp Common Lisp environment