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
Implement (list->string LIST). Not quite the same as in guile.
2010-04-27
Ber
n
d J
e
n
drissek
Implement
(
list
-
>
s
tring LIST)
.
Not
q
ui
t
e the same
.
.
.
commit
|
commitdiff
|
tree
2010-04-27
Bernd Jendrissek
New utility functi
o
n
t
o
g
et a length of
a list
.
commit
|
commitdiff
|
tree
2010-04-27
Bernd Jendrissek
Distin
g
u
i
sh
betwee
n
size of
init string and s
i
ze
o
f
.
.
.
commit
|
commitdiff
|
tree
2009-01-26
Be
r
nd Jendrissek
Toke
n
ize C
p
rograms with Perl as impl
e
me
n
ta
t
i
on language
.
commit
|
commitdiff
|
tree
2008-12-08
Bernd Jendr
i
ssek
Al
l
ow called function
s
to
s
ee only
var
i
ables visibl
e
.
.
.
commit
|
commitdiff
|
tree
2008-11-03
B
e
rnd Je
n
drissek
Prefer
t
o u
s
e memory as m
a
naged
res
o
urces
.
commit
|
commitdiff
|
tree
2008-11-03
Bernd Jendrissek
I
m
p
l
e
m
e
nt basic tai
l
calls
.
Try to con
s
erve
r
e
sour
c
e
s
.
commit
|
commitdiff
|
tree
2008-11-03
B
e
rnd Jendri
s
sek
Add
m
or
e
arithmetic checks
.
commit
|
commitdiff
|
tree
2008-11-03
Bern
d
Jend
r
i
ssek
Add sup
p
ort for the diffe
r
ence / n
e
gation
o
per
a
tor
.
commit
|
commitdiff
|
tree
2008-10-30
Bernd Jendrissek
Impleme
n
t
the interpreted c
a
ll sta
c
k
explicitly
.
commit
|
commitdiff
|
tree
2008-10-23
Bernd Jen
d
ri
s
sek
eval_
s
ymbo
l
()
:
Ne
w
func
t
ion
f
actorized out of b
u
iltin_eval()
.
commit
|
commitdiff
|
tree
2008-02-22
Bernd Jendrissek
I
mplement (string->
l
ist STR
I
NG)
.
Not
q
ui
t
e the same
.
.
.
commit
|
commitdiff
|
tree
2008-02-22
Bernd Jen
d
rissek
Parse strin
g
s properly for escape sequences
.
commit
|
commitdiff
|
tree
2008-02-21
Bernd Jendrissek
Imp
l
ement (display A
R
G)
.
commit
|
commitdiff
|
tree
2008-02-21
Bern
d
Jendris
s
ek
Mark new C
-
owned object
s
as p
r
ote
c
ted
.
Explicitly
.
.
.
commit
|
commitdiff
|
tree
2008-02-18
Bernd Jen
d
r
i
ss
e
k
Re-mar
k
C-
o
w
ned
ob
j
ects only
i
f the are li
s
p obj
e
ct
s
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jend
r
issek
L
e
t g
o
of o
b
jects as soo
n
as they have ev
a
luate
d
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendris
s
e
k
Cons
a dumm
y
non-empty list i
n
to w
h
ich to read
forms
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendr
i
ssek
Leave objects reachable from C-owned objects marked
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendris
s
ek
R
ecl
a
i
m
all ob
j
ects at program exit
.
commit
|
commitdiff
|
tree
2008-02-17
B
e
rnd Jendris
s
e
k
Factorize
garbage-collecti
o
n al
g
orithm into separat
e
.
.
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendrissek
Mark
the fo
r
m cursor
a
s being C-owned
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Je
n
drissek
Iterate over forms in the input buffer with a
cons
.
.
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendrisse
k
Free the in
p
ut buffer
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jen
d
rissek
Mark
s
ep
a
rat
e
GC bits for C-owned and lisp-own
e
d
o
b
j
ects
.
commit
|
commitdiff
|
tree
2008-02-16
B
ernd Je
n
dris
s
ek
Col
l
ect garbag
e
after each REPL iteration
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd
J
e
nd
r
i
s
s
e
k
Bin
d
a "rest"
a
rgument li
s
t only if it is
i
n
the formal
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd Jend
r
i
s
s
e
k
Delet
e
un
u
sed function
.
commit
|
commitdiff
|
tree
2008-02-10
Bern
d
Jendrissek
Supp
o
rt
variabl
e
ar
g
u
m
ent li
s
ts
.
commit
|
commitdiff
|
tree
2008-02-10
B
ern
d
Jendrissek
Improve te
s
t
c
overage
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd Jendrissek
De
f
in
e
compiler and compiler flags
with $(CC
)
and
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd
J
endrissek
b
u
iltin_
n
e
w
(): Create a builtin, but don't name i
t
.
commit
|
commitdiff
|
tree
2008-02-08
Bernd Jendris
s
ek
Al
l
ocate a new symbol
o
nly
i
f it is
unique
.
commit
|
commitdiff
|
tree
2008-02-07
Ber
n
d Jendrissek
Delete unused function
.
commit
|
commitdiff
|
tree
2008-02-07
B
e
rnd Jendrissek
Store refe
r
e
nces to ch
a
racter
sequen
c
es as
i
n
de
x
es
.
.
.
commit
|
commitdiff
|
tree
2008-02-07
Ber
n
d Jendris
s
e
k
St
o
re r
e
f
er
e
nces to pair
s
as indexes
into th
e
ir reso
u
rce
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jendrissek
re
s
our
c
e_new_i(
)
: Return inde
x
into resource po
o
l of
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Je
n
drissek
Al
l
ocate memo
r
y th
r
ough
resource p
o
ols instead of
a
d
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd
J
endrissek
Collect
v
ariable bindings
i
n a general "reso
u
rce" facility
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd J
e
nd
r
issek
Add
t
est
for re
c
ur
s
ion
.
commit
|
commitdiff
|
tree
2008-02-06
Be
r
nd Je
n
drissek
Support inp
u
t
of imp
r
oper
lists
.
commit
|
commitdiff
|
tree
2008-02-06
B
ernd
J
e
ndrissek
Implement (defin
e
(NAME
A
RGS
.
.
.
) BO
D
Y
)
.
commit
|
commitdiff
|
tree
2008-02-06
Bern
d
Jend
r
issek
Implement (pri
m
i
t
ive-eval ARG)
.
commit
|
commitdiff
|
tree
2008-02-02
Bernd
J
endrissek
li
s
p
_builtin(): Con
s
truct
o
r for
a pointer to a built
i
n
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
B
e
r
nd J
e
ndrisse
k
Reduc
e
line count by avoiding tempor
a
ry variables
.
commit
|
commitdiff
|
tree
2008-01-31
Ber
n
d Jendrissek
Pr
e
fer to
u
se lisp values inst
e
ad of stati
c
al
l
y
t
yped
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd
J
endrissek
Prefer
to u
s
e lisp values ins
t
ead
o
f stat
i
cally typed
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Be
r
nd Jendrissek
P
refer t
o
use lisp values
i
nst
e
ad of statically typed
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendrisse
k
Define and use
constan
t
_
n
i
l to represent th
e
empty
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendr
i
ssek
Sim
p
lify co
d
e w
i
t
h
lisp_cdr()
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd
Jen
d
rissek
Impleme
n
t (lis
t
?
ARG)
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Je
n
dri
s
sek
lisp_cdr
(
): Fo
r
an
a
logy with
l
isp
_
ca
r
(
)
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendrissek
Evalu
a
t
e
arguments
to user-de
f
ined fu
n
ctions
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
Simplify l
i
st const
r
uction expressions
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd
J
endrissek
lisp_pair(), l
i
sp_opaque()
:
Further simpli
f
y
c
o
d
e
.
commit
|
commitdiff
|
tree
2008-01-28
B
er
n
d Je
n
d
r
i
ss
e
k
li
s
p_cons(): Ut
i
lity function to simplify code
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
l
i
s
p
_car(): Utility func
t
i
on to simplify co
d
e
.
commit
|
commitdiff
|
tree
2008-01-28
B
ernd Jendrissek
C
o
m
p
lete i
m
p
l
eme
n
t
ation of if
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd
Jendrissek
Don
'
t ov
e
r
-
count
th
e
length of
s
trings
.
commit
|
commitdiff
|
tree
2008-01-28
B
ernd Jendr
i
ssek
Complete imp
l
ement
a
t
ion
of eq?
.
commit
|
commitdiff
|
tree
2008-01-28
B
e
rn
d
J
endrissek
Add more test
s
for eq?
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd J
e
ndrissek
Ad
d
s
keleton implementa
t
i
o
n of eq?
.
commit
|
commitdiff
|
tree
2008-01-28
Bern
d
Jendrissek
Ad
d
skeleton imp
l
ementation
of if
.
commit
|
commitdiff
|
tree
2008-01-28
B
e
rnd Jen
d
ri
s
sek
Impleme
n
t
quote
as
a
built-
i
n
ma
c
ro
.
commit
|
commitdiff
|
tree
2008-01-28
Bern
d
Jendr
i
ssek
Apply user-d
e
fin
e
d
functions with arg
u
ments
.
commit
|
commitdiff
|
tree
2008-01-28
B
e
rnd Je
n
d
rissek
Allocate envir
o
nments dyn
a
mically
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Je
n
dr
i
s
s
ek
T
est appli
c
a
tion of use
r
-defined function
with
arguments
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd J
e
ndrissek
Apply simple user-defined fun
c
t
i
ons
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jen
d
ris
s
ek
Te
s
t application of a user-defi
n
ed f
u
n
c
tion
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd
J
e
ndrissek
Make l
a
mbd
a
expand to a user-de
f
ined funct
i
on
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd J
e
n
drissek
Pa
r
se empty li
s
ts p
r
ope
r
ly
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Ensure that empty input
d
oesn't evaluate
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Je
n
d
r
issek
Revert forg
o
tten mi
s
t
rial
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendriss
e
k
s/parse_form/par
s
e_forms/g
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
endrissek
Support macros in the
e
valuator
.
Add
s
kele
t
on built
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendr
i
s
sek
Add tests f
o
r
lambda
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jend
r
issek
Continue d
e
s
p
it
e
ab
n
ormal
ex
i
ts
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendr
i
ssek
Evaluate C
A
R of list sep
a
rately
to
f
ind
out if it's
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd
J
endris
s
ek
R
e
n
a
me variab
l
e
.
Pretty-
p
rint bu
i
lt-in
f
unctions a
s
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jen
d
r
i
ssek
pair_new(): Initia
l
ize CDR to '
(
)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
Jendr
i
ssek
P
a
r
se a whole
w
ord
i
n one go with parse_word()
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd J
e
ndr
i
ssek
c
harseq_n
e
w():
Initialize the ret
u
rned object
.
commit
|
commitdiff
|
tree
2008-01-27
B
e
rnd Jendrissek
Define
#
t and #f
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendri
s
sek
Mar
k
f
unctions by an
o
paque
u
nique CAR
.
commit
|
commitdiff
|
tree
2008-01-27
Bern
d
Jendriss
e
k
Im
p
lement (car) and (cdr
)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jen
d
rissek
Support imp
r
o
p
e
r
lists
.
I
m
plement (cons)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Je
n
drissek
Pass a more stron
g
l
y t
y
p
e
d l
i
st "rest"
a
rgument to
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jen
d
ri
s
sek
Pa
s
s t
h
e enviro
n
m
ent to
(
e
val) so it can sup
p
ort (l
e
t)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
end
r
issek
Bind values to
symbo
l
s d
u
ring
e
val
u
ation
.
Cal
l
bui
l
ti
n
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
end
r
i
ss
e
k
Unify string and
symbol re
p
resentation
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Eva
l
uate
s-expressions
.
Only supports strings and
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd J
e
ndriss
e
k
NUL-term
i
nate strings and symbol
s
for co
n
venience
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd Jendrissek
Delete st
r
i
ng_new()
.
commit
|
commitdiff
|
tree
2008-01-27
Bern
d
Jendrisse
k
Parse st
r
i
n
gs in s-expr
e
s
s
ion
s
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd J
e
n
d
risse
k
Parse
symbols in
s
-
expre
s
s
ion
s
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Je
n
drissek
A rudimentary parser of s-e
x
pr
e
s
sions
.
commit
|
commitdiff
|
tree