NextPrevTopContents

Index

Symbols

! 110

:< debugger command 16

$ (dollar) variable 28

$$ variable 28

$$$ variable 28

:> debugger command 16

[...] syntax in SQL 184

A

:a debugger command 20

abort restart 13

action lists 71

defining 72

examples 76

undefining 72

adding actions to action lists 74

add-special-free-action function 100

add-sql-stream function 191

add-symbol-profiler function 103

advice

after 51

around 51

before 51

example of use 55

facility 49

for macros 53

for methods 53

main chapter 49 , 59

removing 52

after advice 51

:after keyword 38

:all debugger command 18

:all keyword 138

all , SQL operator 185

:allocation keyword 42

allocation-in-gen-num function 99

allocation-in-gen-num macro 94

any , SQL operator 185

arguments

command line 226

around advice 51

ASCII 220

attribute-type function 178

augmented-string type 216

avoid-gc function 99

B

:b debugger command 16

backtrace 15

quick backtrace 15

verbose backtrace 16

:backtrace keyword 39

base slot 179

base-char type 215

base-string type 216

before advice 51

:before keyword 37

:bindings keyword 25

:bq debugger command 16

:break keyword 39

:break-on-exit keyword 39

Byte Order Mark 221

C

:c debugger command 20

C functions

malloc 94

memalign 94

realloc 94

cache-table-queries function 174

call-next-advice function 52

catch frame, examining 14

:catchers keyword 25

:caused-by keyword 138

:cc debugger command 18

change-process-priority function 127

character type 215

character types 215

check-fragmentation function 98 , 100

classes

database 168

standard-db-class 179

standard-db-object 179

clean-down function 93 , 99

clean-generation-0 function 99

collect-generation-2 function 97 , 99

collect-highest-generation function 99

command line 226

command line arguments

-display 227

-env 227

-environment 227

-init 227

-multiprocessing 227

-no-restart-function 227

-ORBport 227

--relocate-image 228

-siteinit 226

commit function 173

commit function 175

Common Lisp

systems. See system

Common SQL

ODBC compliance 167

supported databases 167

compilation-speed 82

compiler

comparison with interpreter 79

control 82

levels of safety 83

main chapter 79

optimization of 82 - 86

workings of 81

compile-system function 136

configuring the printer 111

connected-databases function 170

continue restart 13

create-index function 179

create-table function 179

create-view function 179

create-view-from-class function 180

creation of process 126

current frame 16

current process 126

*current-process* variable 126

customization

main chapter 107

of editor 108

D

database

classes in SQL 168

connection in SQL 170

database class 168

database-name function 170

databases

supported 167

DDL 178 , 179

debug 82

debugger

commands 14

control variables 23

invoking from the tracer 39

main chapter 11

debugger commands

:< 16

:> 16

:a 20

:all 18

:b 16

:bq 16

:c 20

:cc 18

:ed 18

:error 18

:get 19

:his 19

:l 17

:lambda 18

:lf 19

:n 17

:p 16

:redo 18

:res 21

:ret 21

:top 21

:use 19

:v 17

*debug-io* variable 23

*debug-print-length* variable 23

*debug-print-level* variable 24

declaim macro 88

declare special form 82 , 87

defadvice macro 50 , 53 , 58

*default-action-list-sort-time* variable 75

*default-database* variable 168 , 170

*default-database-type* variable 169

:default-pathname keyword 137

define-action macro 74

define-action-list macro 72

definition specs 45

defparser

error handling with 146

defparser macro 143

functions defined by 145

defsystem macro 137 , 137 - 141

examples of use 140

def-view-class macro 179 , 180

delete-advice macro 52 , 58

delete-instance-records generic function 182

delete-records function 173

delete-records function 174

delete-sql-stream function 191

describe function 27

*describe-length* variable 29

*describe-level* special variable 28

describe-object generic function 28

*describe-print-length* variable 28

*describe-print-level* variable 28

diagnostic utilities

for action lists 75

disable-sql-reader-syntax function 190

disconnect function 170

DML 171 , 182

$ (dollar) variable 28

$$ variable 28

$$$ variable 28

:dont-know keyword 17

do-query macro 175

drop-index function 179

drop-table function 179

drop-view function 179

drop-view-from-class function 180

dspecs

aggregate 63

canonical 60

displaying definitions 68

examples 59

finding definitions 68

grouping definitions 62

new defining forms 61

parts 63

recording definitions 67

E

:ed debugger command 18

editor

customizing 108

editor source code 109

ef-spec 219

enable-sql-reader-syntax function 171 , 190

enlarge-generation function 97 , 100

enlarge-static function 100

:entrycond keyword 40

:error debugger command 18

error handling

in parser generator 146

errors in SQL 191

EUC-JP 220

:eval-after keyword 38

:eval-before keyword 38

evaluating

forms during tracing 37 - 39

except , SQL operator 185

exception handling

for action lists 74

executable 226

execute-command function 177

execution functions 71

execution profiling 101

execution stack

examining 14

:exitcond keyword 40

expand-generation-1 function 99

extended-time macro 99 , 105

external format specification 219

External formats 219

F

fasl (fast load)

description 79

fast 32bit arithmetic 89

FDDL 178

FDML 182

files

load-on-demand 110

find-database function 170

find-object-size function 99

find-process-from-name function 126

fixnum-safety 82

flag-not-special-free-action function 100

flag-special-free-action function 100

float 82

float calculations, optimizing 83

forms

evaluating when tracing 37 - 39

frame, examining 14

free-important-locks function 130

function, altering with advice 49

function , SQL operator 187

Functional DDL 178

Functional DML 171

functional interface in SQL 170

functions

add-special-free-action 100

add-sql-stream 191

add-symbol-profiler 103

allocation-in-gen-num 99

arguments for traced 37

attribute-type 178

avoid-gc 99

cache-table-queries 174

call-next-advice 52

change-process-priority 127

check-fragmentation 98 , 100

clean-down 93 , 99

clean-generation-0 99

collect-generation-2 97 , 99

collect-highest-generation 99

commit 173 , 175

compile-system 136

connected-databases 170

create-index 179

create-table 179

create-view 179

create-view-from-class 180

database-name 170

delete-records 173 , 174

delete-sql-stream 191

describe 27

disable-sql-reader-syntax 190

disconnect 170

drop-index 179

drop-table 179

drop-view 179

drop-view-from-class 180

enable-sql-reader-syntax 171 , 190

enlarge-generation 97 , 100

enlarge-static 100

execute-command 177

expand-generation-1 99

find-database 170

find-object-size 99

find-process-from-name 126

flag-not-special-free-action 100

flag-special-free-action 100

free-important-locks 130

gc-if-needed 99

get-default-generation 99

get-folder-path 230

get-gc-parameters 99

get-user-profile-directory 231

initialize-database-type 169

initialize-multiprocessing 128

insert-records 173

inspect 28

int32- 89

int32+ 89

lisp-image-name 226

list-all-processes 126

list-attributes 178

list-attribute-types 178

list-classes 182

list-sql-streams 191

list-tables 178

locally-disable-sql-reader-syntax 190

locally-enable-sql-reader-syntax 190

long-site-name 225

make-lock 130

map-query 175

mark-and-sweep 93 , 99

normal-gc 99

print-actions 75

print-profile-list 103

print-query 172

process-allow-scheduling 126

process-arrest-reasons 127

process-break 127

process-interrupt 127

process-kill 127

process-lock 131

process-name 126

process-priority 127

process-run-function 126

process-run-reasons 127

process-unlock 131

process-wait 126 , 127

process-wait-function 127

process-wait-with-timeout 126 , 127

proclaim 82 , 87

product-registry-path 229

ps 126

query 177

reconnect 170

remove-advice 52 , 58

remove-special-free-action 100

remove-symbol-profiler 103

reset-profiler 103

restore-sql-reader-syntax-state 190

results for traced 38

rollback 173 , 175

room 99

select 171 , 182

set-debugger-options 24

set-default-generation 94 , 99

set-gc-parameters 93 , 95 , 96 , 99

set-minimum-free-space 96 , 99

set-profiler-threshold 103

set-promotion-count 95 , 99

set-up-profiler 102

short-site-name 225

software-type 225

software-version 225

sql 188

sql-expression 188

sql-operation 188

sql-operator 188

sql-recording-p 191

sql-stream 191

start-sql-recording 191

status 170

stop-sql-recording 191

sweep-all-objects 100

switch-static-allocation 93 , 94 , 100

symbol-to-string 146

toggle-source-debugging 90

total-allocation 99

tracing inside 43

try-compact-in-generation 98 , 100

try-move-in-generation 98 , 100

update-records 173 , 174

user-preference 229

without-interrupts 128

without-preemption 128

fundamental-character-input-stream class 194

fundamental-character-output-stream class 194

G

garbage collection, see also storage management

main chapter 91

gc-if-needed function 99

generation

definition 92

generation 2 97

generic functions

delete-instance-records 182

describe-object 28

input-stream-p 196

instance-refreshed 182

output-stream-p 196

stream-clear-input 197

stream-element-type 195

stream-line-column 199

stream-listen 198

stream-read-char 196

stream-start-line-p 200

stream-unread-char 197

stream-write-char 198

update-instance-from-records 182

update-record-from-slot 182

update-records-from-instance 182

update-slot-from-record 182

:get debugger command 19

get-default-generation function 99

get-folder-path function 230

get-gc-parameters function 99

get-user-profile-directory function 231

grammar

non-terminal 144

resolving ambiguities 145

graphics ports 2

> , SQL operator 185

H

*handle-existing-action-in-action-list* variable 74

*handle-existing-action-list* variable 74

*handle-missing-action-in-action-list* variable 75

*handle-missing-action-list* variable 75

handler frame, examining 14

:handler keyword 25

:hidden keyword 25

*hidden-packages* variable 24

:his debugger command 19

hook functions 71

I

i18n 215

image size 228

initialization

of SQL 168

initialize-database-type function 169

*initialized-database-types* variable 169

initialize-multiprocessing function 128

*initial-processes* variable 126

input-stream-p generic function 196

insert-records function 173

:inside keyword 43

inspect function 28

inspector

main chapter 27

teletype 27

*inspect-print-length* variable 29

*inspect-print-level* variable 29

instance-refreshed generic function 182

in-static-area macro 94 , 100

int32- function 89

int32 type 89

int32+ function 89

interface

between parser generator and lexical analyser 147

SQL initialization 168

Internationalization 215

interpreter

differences from compiler 79

interruptable 82

intersect , SQL operator 185

introduction

main chapter 1

invalid superclass 116

:invisible keyword 25

ISO8859-1 220

J

JIS 220

join slot 179

K

keywords

:after 38

:all 138

:allocation 42

:backtrace 39

:before 37

:bindings 25

:break 39

:break-on-exit 39

:catchers 25

:caused-by 138

:default-pathname 137

:dont-know 17

:entrycond 40

:eval-after 38

:eval-before 38

:exitcond 40

:handler 25

:hidden 25

:inside 43

:invisible 25

:maximum-buffer-size 93

:maximum-overflow 96

:members 137

:minimum-buffer-size 93

:minimum-for-sweep 95 , 96

:minimum-overflow 96

:new-generation-size 97

:non-symbol 25

:package 137

:previous 139

:process 42

:requires 139

:restarts 25

:rules 138

:source-only 138

:step 40

:trace-output 41

:when 42

L

:l debugger command 17

:lambda debugger command 18

Latin-1 220

levels of safety, see compiler

:lf debugger command 19

lightweight processes 125

lightweight processes in LispWorks 125

*line-arguments-list* variable 226

lisp-image-name function 226

LispWorks

customizing 107

lightweight processes in 125

processes 125

quitting 9 , 77

saving 8

starting 7 , 77

list-all-processes function 126

list-attributes function 178

list-attribute-types function 178

list-classes function 182

list-sql-streams function 191

list-tables function 178

load-on-demand 110

locally-disable-sql-reader-syntax function 190

locally-enable-sql-reader-syntax function 190

locks 130

long-site-name function 225

loop macro

extensions in Common SQL 183

loop , extensions in Common SQL 176

M

macros

advice 53

allocation-in-gen-num 94

declaim 88

defadvice 50 , 53 , 58

define-action 74

define-action-list 72

defparser 143 , 145

defsystem 137 , 137 - 141

def-view-class 179 , 180

delete-advice 52 , 58

do-query 175

extended-time 99 , 105

in-static-area 94 , 100

undefine-action 74

undefine-action-list 73

with-heavy-allocation 99

with-lock 131

without-interrupts 99

with-transaction 173 , 174

make-lock function 130

malloc C function 94

map-query function 175

mark 95

and sweep 95

mark-and-sweep function 93 , 99

:maximum-buffer-size keyword 93

*maximum-ordinary-windows* variable 109

:maximum-overflow keyword 96

*max-trace-indent* variable 45

memalign C function 94

:members keyword 137

memory allocation during tracing 42

memory management 228

garbage collection strategy 95

image reduction 99

mark and sweep 95

overflow 96

timing in 99

Metaobject Protocol 113

method

advice 53

methods

tracing 45

:minimum-buffer-size keyword 93

:minimum-for-sweep keyword 95 , 96

:minimum-overflow keyword 96

minus , SQL operator 185

mod 2^32 arithmetic 89

modifying a database 173

MOP

AMOP compatibility 113

multi-processing

locks 130

N

:n debugger command 17

:new-generation-size keyword 97

:non-symbol keyword 25

non-terminal in grammar 144

normal-gc function 99

not , SQL operator 185

O

object

object-oriented interface in SQL 179

static 93

Object Oriented DDL in SQL 179

Object Oriented DML in SQL 182

OODDL 179

OODML 182

operating system 225

optimization

of compiler 82

optimization declarations 82

optimize 82

optimize qualities 83 - 86

output

trace 41

output-stream-p generic function 196

P

:p debugger command 16

package

hiding 24

:package keyword 137

parser generator main chapter 143

parser, error handling 146

patches

saving an image with 9

platform 225

PostScript Printer Description files 111

PPD files 111 - 112

:previous keyword 139

print-actions function 75

*print-binding-frames* variable 24

*print-catch-frames* variable 24

printer

configuring 111

*print-handler-frames* variable 24

*print-non-symbol-frames* variable 24

*print-open-frames* variable 24

print-profile-list function 103

print-query function 172

*print-restart-frames* variable 24

process

creation 126

current 126

in LispWorks 125

scheduling 127

process exit status 229

:process keyword 42

process-allow-scheduling function 126

process-arrest-reasons function 127

process-break function 127

*process-initial-bindings* variable 127

process-interrupt function 127

process-kill function 127

process-lock function 131

process-name function 126

process-priority function 127

process-run-function function 126

process-run-reasons function 127

process-unlock function 131

process-wait function 126 , 127

process-wait-function function 127

process-wait-with-timeout function 126 , 127

proclaim function 82 , 87

product-registry-path function 229

profile time 102

profiler

interpretation of results 103

main chapter 101

pitfalls 104

setting up 102

*profile-symbol-list* variable 103

profiling

execution 101

program 101

program profiling 101

ps function 126

Q

query function 177

quick backtrace 15

quit 77

quitting LispWorks 9 , 77

R

raw 32bit arithmetic 89

real time 102

realloc C function 94

reconnect function 170

redo 110

:redo debugger command 18

remove-advice function 52 , 58

remove-special-free-action function 100

remove-symbol-profiler function 103

removing actions from action lists 74

:requires keyword 139

:res debugger command 21

reset-profiler function 103

restart 13

restart frame, examining 14

:restarts keyword 25

restore-sql-reader-syntax-state function 190

:ret debugger command 21

rollback function 173 , 175

room function 99

:rules keyword 138

S

safety 82

scheduling of processes 127

segmentation violation in compiled code 86

select function 182

select function 171

select , SQL operator 185

set-debugger-options function 24

set-default-generation function 94 , 99

set-gc-parameters function 93 , 95 , 96 , 99

set-minimum-free-space function 96 , 99

set-profiler-threshold function 103

set-promotion-count function 95 , 99

set-up-profiler function 102

Shift JIS 220

short-site-name function 225

Show Paths From Editor command 90

shutdown 77

simple-char type 215

simple-int32-vector type 89

simple-string type 217

software-type function 225

software-version function 225

some , SQL operator 185

*source-found-action* variable 108

:source-only keyword 138

space 82

special forms

declare 82 , 87

special variables

*describe-level* 28

speed 82

SQL

[...] syntax 184

database classes 168

database connection 170

database functions 187

date fields 172

direct specification 177

errors 191

Functional DDL 178

Functional DML 171

functional interface 170

I/O recording 190

interface initialization 168

iteration 183

main chapter 165

Object Oriented DDL 179

Object Oriented DML 182

object-oriented interface 179

programmatic interface 188

result types 172

stored procedure 177

symbolic syntax 183

transaction handling 174

utilities 190

SQL errors

sql-connection-error 191

sql-database-data-error 191

sql-database-error 191

sql-fatal-error 191

sql-temporary-error 191

sql-timeout-error 191

sql-user-error 191

sql function 188

sql-connection-error error 191

sql-database-data-error error 191

sql-database-error error 191

sql-expression function 188

sql-fatal-error error 191

*sql-libraries* variable 169

*sql-loading-verbose* variable 169 , 174

sql-operation function 188

sql-operator function 188

sql-recording-p function 191

sql-stream function 191

sql-temporary-error error 191

sql-timeout-error error 191

sql-user-error error 191

square bracket syntax 184

stack

examining 14

standard-db-class class 179

standard-db-object class 179

start 77

start LispWorks 7

starting LispWorks 7 , 77

start-sql-recording function 191

startup 77

static object

allocation in memory management 93

status function 170

:step keyword 40

stepper, entering when tracing 40

stop-sql-recording function 191

storage management

main chapter 91

stream-clear-input generic function 197

stream-element-type generic function 195

stream-line-column generic function 199

stream-listen generic function 198

stream-read-char generic function 196

streams

defining new 194

directionality 195

example 194 - 201

input 196

instantiating 200

output 198

user defined 193

stream-start-line-p generic function 200

stream-unread-char generic function 197

stream-write-char generic function 198

string construction 218

string type 216

string types 216

superclass

invalid 116

sweep 95

sweep-all-objects function 100

switch-static-allocation function 93 , 94 , 100

*symbol-alloc-gen-num* variable 94 , 99

symbolic query syntax 183

symbolic syntax in SQL 183

symbol-to-string function 146

syntax, in SQL 183

system

defining 136 - 141

introduction to 135 - 136

members of 137

plan 138

rules 138 - 139

T

teletype inspector 27

text-string type 216

toggle-source-debugging function 90

tools

inspector 27

:top debugger command 21

total-allocation function 99

trace

main chapter 35

*traced-arglist* variable 37 , 38 , 40 , 46

*traced-results* variable 38 , 46

*trace-indent-width* variable 46

*trace-level* variable 46

:trace-output keyword 41

*trace-output* variable 46

*trace-print-circle* variable 46

*trace-print-length* variable 28 , 46

*trace-print-level* variable 28 , 46

*trace-print-pretty* variable 47

tracer

:after option 38

:allocation option 42

:before option 37

:break option 39

:break-on-exit option 39

commands available 37 - 44

definition specs 45

directing output 41

entering the stepper 40

:entrycond option 40

:eval-after option 38

:eval-before option 38

evaluating forms 37 - 39

example of use 35

:exitcond option 40

functions, tracing inside 43

information displayed 36

:inside option 43

invoking the debugger 39

memory allocation 42

methods, tracing 45

:process option 42

restricting to a process 42

:step option 40

traced function, arguments for 37

:trace-output option 41

trced functions, results for 38

transaction handling 174

try-compact-in-generation function 98 , 100

try-move-in-generation function 98 , 100

types

augmented-string 216

base-char 215

base-string 216

character 215

int32 89

simple-char 215

simple-int32-vector 89

simple-string 217

string 216

text-string 216

U

UCS-2 220

undefine-action macro 74

undefine-action-list macro 73

Unicode 215

union , SQL operator 185

update-instance-from-records generic function 182

update-record-from-slot generic function 182

update-records function 173 , 174

update-records-from-instance generic function 182

update-slot-from-record generic function 182

:use debugger command 19

user defined stream 193

user-preference function 229

UTF-8 220

utilities in SQL 190

V

:v debugger command 17

variables

$ (dollar) 28

$$ 28

$$$ 28

*current-process* 126

*debug-io* 23

*debug-print-length* 23

*debug-print-level* 24

*default-action-list-sort-time* 75

*default-database* 168 , 170

*default-database-type* 169

*describe-length* 29

*describe-print-length* 28

*describe-print-level* 28

*handle-existing-action-in-action-list* 74

*handle-existing-action-list* 74

*handle-missing-action-in-action-list* 75

*handle-missing-action-list* 75

*hidden-packages* 24

*initialized-database-types* 169

*initial-processes* 126

*inspect-print-length* 29

*inspect-print-level* 29

*line-arguments-list* 226

*maximum-ordinary-windows* 109

*max-trace-indent* 45

*print-binding-frames* 24

*print-catch-frames* 24

*print-handler-frames* 24

*print-non-symbol-frames* 24

*print-open-frames* 24

*print-restart-frames* 24

*process-initial-bindings* 127

*profile-symbol-list* 103

*source-found-action* 108

*sql-libraries* 169

*sql-loading-verbose* 169 , 174

*symbol-alloc-gen-num* 94 , 99

*traced-arglist* 37 , 38 , 40 , 46

*traced-results* 38 , 46

*trace-indent-width* 46

*trace-level* 46

*trace-output* 46

*trace-print-circle* 46

*trace-print-length* 28 , 46

*trace-print-level* 28 , 46

*trace-print-pretty* 47

verbose backtrace 16

virtual (ordinary) slots 180

virtual time 102

W

:when keyword 42

with-heavy-allocation macro 99

with-lock macro 131

without-interrupts function 128

without-interrupts macro 99

without-preemption function 128

with-transaction macro 173 , 174


LispWorks User Guide - 8 Apr 2005

NextPrevTopContents