repo.or.cz
/
berndj-bootstrap.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Add support for the difference / negation operator.
2008-11-03
Bernd
Jendri
s
sek
Add supp
o
rt for the d
i
fferen
c
e
/ negati
o
n
ope
r
a
tor
.
commit
|
commitdiff
|
tree
2008-10-30
Bernd J
e
ndri
s
sek
Imp
l
ement the interpreted call stack explicitly
.
commit
|
commitdiff
|
tree
2008-10-23
Be
r
nd Jendrissek
eval_symbol(
)
: New
f
unction fa
c
tori
z
ed
out o
f
b
u
i
ltin_eval()
.
commit
|
commitdiff
|
tree
2008-02-22
Bernd J
e
ndrissek
Implement (string
-
>list STRING)
.
Not quite th
e
same
.
.
.
commit
|
commitdiff
|
tree
2008-02-22
B
er
n
d Jendrisse
k
Par
s
e str
i
ngs p
r
o
perly for escape sequences
.
commit
|
commitdiff
|
tree
2008-02-21
Bernd Jendrissek
Implement (display ARG)
.
commit
|
commitdiff
|
tree
2008-02-21
B
e
rnd
J
endrissek
Mark new C-owned object
s
as
p
rotect
e
d
.
E
xplicitly
.
.
.
commit
|
commitdiff
|
tree
2008-02-18
B
e
r
nd Jendrissek
Re-
m
ark C-owned objects
o
nly if the a
r
e
lisp objec
t
s
.
commit
|
commitdiff
|
tree
2008-02-17
B
e
rnd Jendrissek
Let g
o
of o
b
jects as
s
o
o
n as t
h
ey have evaluated
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendrissek
Con
s
a dummy non-
e
mpty
list into which
to
read forms
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Je
n
drisse
k
Leave o
b
jects rea
c
hable from
C-o
w
ne
d
objects mark
e
d
.
commit
|
commitdiff
|
tree
2008-02-17
Ber
n
d Je
n
drissek
R
e
clai
m
all o
b
ject
s
a
t
pro
g
ram exit
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendri
s
s
ek
Factoriz
e
garbage-
c
o
ll
e
ction algorithm into s
e
parate
.
.
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendrissek
Mark
the form curso
r
a
s
b
eing C-owned
.
commit
|
commitdiff
|
tree
2008-02-17
B
ernd
J
e
n
driss
e
k
Iterate ov
e
r
form
s
in the input
b
uffer wi
t
h a
cons
.
.
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd J
e
nd
r
i
ssek
Free the
i
nput buffer
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd
J
endri
s
sek
Mark separate GC bits
f
or C-owned
and lisp-
o
wn
e
d
ob
j
e
cts
.
commit
|
commitdiff
|
tree
2008-02-16
Bernd
J
endrissek
Collect garbage after each REPL iteration
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd
Jendrissek
Bind a "rest" argument
l
ist o
n
ly if it is in the formal
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
Bern
d
Je
n
drisse
k
Delete
u
nused func
t
ion
.
commit
|
commitdiff
|
tree
2008-02-10
B
e
rn
d
Jendr
i
ssek
S
u
pport variable argument list
s
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd Je
n
drissek
Improve test cov
e
rage
.
commit
|
commitdiff
|
tree
2008-02-10
Ber
n
d Jendris
s
ek
D
e
fine c
o
mpiler and compiler
fl
a
gs with $(CC) and
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd
J
endriss
e
k
bui
l
tin
_
new()
:
Cre
a
te a buil
t
in,
b
ut don't name it
.
commit
|
commitdiff
|
tree
2008-02-08
Bernd Jendrissek
All
o
cate a new
symbol only if it is unique
.
commit
|
commitdiff
|
tree
2008-02-07
Bern
d
Je
n
dr
i
s
sek
Dele
t
e unused functio
n
.
commit
|
commitdiff
|
tree
2008-02-07
B
e
rnd Jen
d
rissek
S
tor
e
r
e
ferences to charac
t
e
r
sequen
c
es as indexe
s
.
.
.
commit
|
commitdiff
|
tree
2008-02-07
Bern
d
Jendrisse
k
Store ref
e
renc
e
s
to pa
i
rs a
s
ind
e
xes into their resourc
e
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Je
n
dri
s
se
k
re
s
ource_new_i():
Return inde
x
i
n
t
o
reso
u
rc
e
pool of
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
B
e
rnd J
e
nd
r
issek
Allo
c
ate
m
e
m
ory throug
h
resource
pools instead of ad
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
B
e
rnd
J
endrissek
Collect variable bindings in a general "re
s
ource" facility
.
commit
|
commitdiff
|
tree
2008-02-06
B
ernd Jendris
s
ek
Add test fo
r
recursi
o
n
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jendrissek
Suppor
t
input of improp
e
r lists
.
commit
|
commitdiff
|
tree
2008-02-06
Be
r
nd
Jend
r
i
s
sek
Implemen
t
(defi
n
e (NAME ARGS
.
.
.
) BOD
Y
)
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jendris
s
ek
I
m
plement (prim
i
t
i
ve-eval ARG)
.
commit
|
commitdiff
|
tree
2008-02-02
Bern
d
Jendrissek
lisp_b
u
i
l
tin(): Constructor for a
pointe
r
t
o a
builtin
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
B
e
r
nd Jendrissek
Reduce line count by avoiding tem
p
orary variables
.
commit
|
commitdiff
|
tree
2008-01-31
Be
r
nd Jend
r
issek
Prefer
to u
s
e lisp
v
alues
i
ns
t
ead of st
a
ti
c
a
l
ly typed
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jend
r
issek
Prefer to use lis
p
values instead
of statically
t
yped
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendriss
e
k
Prefer to use lisp v
a
lues instead o
f
static
a
lly
t
yped
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
B
ernd Jendrissek
Define and
u
se cons
t
ant_nil
t
o represent the empty
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Be
r
n
d
J
endrissek
S
i
mplify c
o
d
e
w
i
th
l
i
s
p_cdr()
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendris
s
ek
I
m
p
lement
(
list? ARG)
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jend
r
issek
lisp_cdr(
)
: For analogy
wit
h
lisp_car
(
)
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendrisse
k
E
v
al
u
ate arg
u
ments
to user-defined f
u
n
c
ti
o
ns
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Je
n
dris
s
ek
S
i
mpl
i
f
y
l
is
t
con
s
t
ruction expressions
.
commit
|
commitdiff
|
tree
2008-01-28
B
ernd Je
n
drissek
li
s
p_pair(),
lisp_opaque(): Further si
m
plify code
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jen
d
rissek
lisp
_
cons(): U
t
ility f
u
n
ction to simplify code
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendris
s
ek
lisp_
c
ar
(
): Ut
i
lity f
u
nction to s
i
mplify code
.
commit
|
commitdiff
|
tree
2008-01-28
Bern
d
Jend
r
issek
Comp
l
ete
i
mplem
e
ntation of i
f
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrisse
k
Don't ov
e
r-co
u
nt the l
e
n
gth
o
f strings
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
Compl
e
te
i
mp
l
e
m
ent
a
tion of eq?
.
commit
|
commitdiff
|
tree
2008-01-28
B
ern
d
Jend
r
issek
Add more
tests for eq?
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Je
n
dr
i
ssek
Add sk
e
leton i
m
plementation of
e
q
?
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendr
i
ssek
Add skeleton implementatio
n
of if
.
commit
|
commitdiff
|
tree
2008-01-28
Be
r
nd Je
n
driss
e
k
Imp
l
e
m
ent quote as
a built-in macro
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd J
e
nd
r
issek
Apply user-de
f
i
ned f
u
nctions with ar
g
uments
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Je
n
driss
e
k
A
llocate enviro
n
ments dynamically
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendr
i
ssek
Test application of us
e
r
-
define
d
function with
a
r
guments
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
e
ndrissek
Ap
p
ly s
i
mple
u
ser-def
i
ned functions
.
commit
|
commitdiff
|
tree
2008-01-27
B
e
rnd Jendrissek
Tes
t
appl
i
cation
o
f a user-defined f
u
nction
.
commit
|
commitdiff
|
tree
2008-01-27
B
ernd Jend
r
issek
Make lambda expand to
a
us
e
r
-
d
efined function
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Parse empt
y
lists p
r
ope
r
l
y
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendri
s
sek
E
nsur
e
that empty input doesn't ev
a
luate
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Revert forgo
t
ten mistrial
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jen
d
rissek
s/
p
arse_f
o
r
m/parse_forms/g
.
commit
|
commitdiff
|
tree
2008-01-27
Bern
d
Jen
d
rissek
S
upport macros i
n
the ev
a
luator
.
Add skeleton built
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bern
d
Jen
d
ris
s
ek
A
dd tests fo
r
lambda
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d Jendrissek
Con
t
i
n
ue despite abnormal exits
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
Jendrissek
E
valuate CAR of list separately to find out if
it's
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
B
er
n
d
J
endrissek
R
e
name
v
ariable
.
Pre
t
ty-print built-in functions a
s
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bern
d
Jen
d
rissek
pair_
n
ew()
:
I
n
itialize C
D
R to '()
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d Jendrissek
Parse a whole word
in one go wi
t
h pars
e
_
w
ord()
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd Jendris
s
ek
charseq_new
(
)
:
Initialize the returned obj
e
ct
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Define #t and #f
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendr
i
sse
k
M
ark functions by an opaque uniqu
e
CAR
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Implem
e
nt (car) and (cdr)
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd Jendrissek
Suppo
r
t im
p
roper
l
i
s
ts
.
I
m
plement (c
o
ns)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Pass
a more strongly typ
e
d
li
s
t
"rest" argument to
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendri
s
sek
Pass the en
v
ironment to (eval) so it can
s
uppo
r
t
(let)
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd Jendrissek
Bind valu
e
s to
symbols during ev
a
luation
.
Call builtin
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendriss
e
k
Unify st
r
ing an
d
symbol representation
.
commit
|
commitdiff
|
tree
2008-01-27
B
e
rnd J
e
ndrissek
Evaluate s-ex
p
r
es
s
io
n
s
.
Only supports st
r
ings and
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendri
s
s
e
k
NUL-terminat
e
st
r
ings and symb
o
ls f
o
r
convenience
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendris
s
ek
Delete string_new()
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Parse s
t
rings in
s
-expressions
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendri
s
sek
P
a
rse symbol
s
i
n
s-expressions
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendriss
e
k
A
rudi
m
entary parser of s-expressions
.
commit
|
commitdiff
|
tree