diff options
| author | 2025-10-09 21:58:43 +0300 | |
|---|---|---|
| committer | 2025-10-09 21:58:43 +0300 | |
| commit | 4da3ad1f569832845b58c3ce35149633a2bb665c (patch) | |
| tree | 5a09a0de66df7ec2e77f0fc9cc68ccbabc190934 /src/tg-types/parsers.lisp | |
| download | ukkoclot-4da3ad1f569832845b58c3ce35149633a2bb665c.tar.gz ukkoclot-4da3ad1f569832845b58c3ce35149633a2bb665c.tar.xz ukkoclot-4da3ad1f569832845b58c3ce35149633a2bb665c.zip | |
Initial commit
Diffstat (limited to 'src/tg-types/parsers.lisp')
| -rw-r--r-- | src/tg-types/parsers.lisp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tg-types/parsers.lisp b/src/tg-types/parsers.lisp new file mode 100644 index 0000000..0b6c4ae --- /dev/null +++ b/src/tg-types/parsers.lisp | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | ;; SPDX-License-Identifier: EUPL-1.2 | ||
| 2 | ;; SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com> | ||
| 3 | (defpackage :ukkoclot/tg-types/parsers | ||
| 4 | (:use :c2cl :ukkoclot/strings) | ||
| 5 | (:export tg-string->keyword)) | ||
| 6 | (in-package :ukkoclot/tg-types/parsers) | ||
| 7 | |||
| 8 | (defun tg-string->keyword (str) | ||
| 9 | (intern (string-upcase (snake->lisp-case str)) :keyword)) | ||