Created
November 3, 2015 10:14
-
-
Save arademaker/d6acd47e0e48bc97727c to your computer and use it in GitHub Desktop.
reading CPDOC headers in CL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CL-USER> (pushnew "/opt/local/lib/" cffi:*foreign-library-directories* :test #'equal) | |
| ("/opt/local/lib/" (CFFI::EXPLODE-PATH-ENVIRONMENT-VARIABLE "LD_LIBRARY_PATH") | |
| (CFFI::EXPLODE-PATH-ENVIRONMENT-VARIABLE "DYLD_LIBRARY_PATH") (UIOP/OS:GETCWD) | |
| (CFFI::DARWIN-FALLBACK-LIBRARY-PATH)) | |
| CL-USER> (ql:quickload :cl-yaml) | |
| To load "cl-yaml": | |
| Load 1 ASDF system: | |
| cl-yaml | |
| ; Loading "cl-yaml" | |
| ...... | |
| (:CL-YAML) | |
| CL-USER> (yaml:parse "--- | |
| title: COELHO, Machado | |
| natureza: biográfico | |
| sexo: m | |
| cargos: | |
| - dep. fed. DF 1927-1929 e 1930 | |
| - const. 1946 | |
| - dep. fed. SP 1946-1951 | |
| --- | |
| ") | |
| #<HASH-TABLE :TEST EQUAL :COUNT 4 {1008E101E3}> | |
| CL-USER> (alexandria:hash-table-alist *) | |
| (("cargos" "dep. fed. DF 1927-1929 e 1930" "const. 1946" | |
| "dep. fed. SP 1946-1951") | |
| ("sexo" . "m") ("natureza" . "biográfico") ("title" . "COELHO, Machado")) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment