Debian Codegraph @

test/syntax/source/code/lisp

raw
1 #!/usr/bin/env csi
2
3 (defun prompt-for-cd ()
4 "Prompts
5 for CD"
6 (prompt-read "Title" 1.53 1 2/4 1.7 1.7e0 2.9E-4 +42 -7 #b001 #b001/100 #o777 #O777 #xabc55 #c(0 -5.6))
7 (prompt-read "Artist" &rest)
8 (or (parse-integer (prompt-read "Rating") :junk-allowed t) 0)
9 (if x (format t "yes") (format t "no" nil) ;and here comment
10 )
11 ;; second line comment
12 '(+ 1 2)
13 (defvar *lines*) ; list of all lines
14 (position-if-not #'sys::whitespacep line :start beg))
15 (quote (privet 1 2 3))
16 '(hello world)
17 (* 5 7)
18 (1 2 34 5)
19 (:use "aaaa")
20 (let ((x 10) (y 20))
21 (print (+ x y))
22 )