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 (length LIST).
2010-04-27
B
ernd Jendrissek
I
mplement
(le
n
gth LIST)
.
commit
|
commitdiff
|
tree
2010-04-27
Bern
d
Jendrissek
Imp
l
ement (list->
s
tring LIST)
.
N
o
t
quite the sam
e
.
.
.
commit
|
commitdiff
|
tree
2010-04-27
Bernd Jendrissek
New utility functio
n
to get a len
g
th
o
f
a
list
.
commit
|
commitdiff
|
tree
2010-04-27
Bernd Jendrissek
Distinguish between si
z
e of init strin
g
and size of
.
.
.
commit
|
commitdiff
|
tree
2009-01-26
B
e
rnd
J
endrissek
Tokenize C programs wi
t
h
P
erl as implementation la
n
g
uage
.
commit
|
commitdiff
|
tree
2008-12-08
B
e
r
n
d
Jendriss
e
k
Allow cal
l
ed f
u
nctions to see o
n
l
y
variables
vis
i
ble
.
.
.
commit
|
commitdiff
|
tree
2008-11-03
Bernd Jen
d
rissek
Prefer to use memor
y
a
s managed
resources
.
commit
|
commitdiff
|
tree
2008-11-03
B
ernd Jendr
i
ssek
Impleme
n
t basic tail ca
l
ls
.
Try to
c
onse
r
ve res
o
urces
.
commit
|
commitdiff
|
tree
2008-11-03
Bernd Jendr
i
ssek
Add more arit
h
me
t
ic checks
.
commit
|
commitdiff
|
tree
2008-11-03
Bernd J
e
n
dr
i
sse
k
Add support for the diffe
r
e
nce /
negation
operator
.
commit
|
commitdiff
|
tree
2008-10-30
Be
r
n
d
Jendris
s
e
k
Implement the in
t
e
rpre
t
ed call s
t
a
c
k explicitly
.
commit
|
commitdiff
|
tree
2008-10-23
Be
r
n
d
Jen
d
rissek
eval
_
symbol(): New fu
n
ction fac
t
ori
z
e
d
out of built
i
n_eval()
.
commit
|
commitdiff
|
tree
2008-02-22
Bernd Jendris
s
ek
Imp
l
ement
(
string->list STRING)
.
Not
q
uite the
s
ame
.
.
.
commit
|
commitdiff
|
tree
2008-02-22
Bernd Je
n
drissek
Parse str
i
ngs properly
f
o
r esc
a
pe sequences
.
commit
|
commitdiff
|
tree
2008-02-21
Bernd Je
n
d
riss
e
k
Imple
m
ent (display ARG)
.
commit
|
commitdiff
|
tree
2008-02-21
Bern
d
J
e
ndr
i
ssek
Mark new C-
o
wned objects as
p
r
otected
.
Explicitly
.
.
.
commit
|
commitdiff
|
tree
2008-02-18
Bernd Jendrissek
Re-mark
C-
o
w
n
e
d o
b
jects only if the are
lisp ob
j
ects
.
commit
|
commitdiff
|
tree
2008-02-17
Ber
n
d Je
n
drissek
Let go of objec
t
s as soo
n
as they h
a
v
e
ev
a
luated
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Je
n
drissek
C
o
n
s a
dum
m
y non-emp
t
y
list i
n
to which to r
e
ad
for
m
s
.
commit
|
commitdiff
|
tree
2008-02-17
B
e
r
n
d Jendrissek
Leave object
s
reachable f
r
o
m C-owned o
b
jects marke
d
.
commit
|
commitdiff
|
tree
2008-02-17
B
ernd Jendri
s
sek
R
eclai
m
all ob
j
ect
s
at program e
x
it
.
commit
|
commitdiff
|
tree
2008-02-17
Bern
d
Jen
d
ri
s
sek
Factorize
g
arbage-col
l
ection algorithm into sepa
r
at
e
.
.
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd
Jendr
i
ssek
Mark the f
o
rm cursor as b
e
ing C-owne
d
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd J
e
n
dr
i
ssek
Iterat
e
o
v
er
f
o
rms
i
n the input
bu
f
fer with a cons
.
.
.
commit
|
commitdiff
|
tree
2008-02-17
B
ernd
J
endrissek
F
r
e
e
the in
p
ut buff
e
r
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendrisse
k
M
ar
k
sep
a
r
a
t
e
G
C bits for C-owned and
li
s
p-ow
n
ed objects
.
commit
|
commitdiff
|
tree
2008-02-16
B
e
rnd Jendrissek
C
o
llect garbage a
f
ter each REPL
iteration
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd
J
e
nd
r
issek
Bind
a
"rest" argum
e
n
t
list only if i
t
is in the formal
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd Jendrissek
Delete unu
s
ed func
t
ion
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd Jendri
s
sek
S
u
pport variable argu
m
ent lis
t
s
.
commit
|
commitdiff
|
tree
2008-02-10
Be
r
nd
Jendris
s
ek
Improve t
e
st coverage
.
commit
|
commitdiff
|
tree
2008-02-10
B
e
r
n
d Jendr
i
ssek
Define compiler a
n
d compiler flags
w
ith $(CC) a
n
d
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
B
e
rn
d
Jendrissek
b
u
iltin_new()
:
Crea
t
e a built
i
n, but don't nam
e
it
.
commit
|
commitdiff
|
tree
2008-02-08
Bernd Jendriss
e
k
Allocate a new sy
m
b
o
l
onl
y
if it i
s
unique
.
commit
|
commitdiff
|
tree
2008-02-07
Bernd Jendrissek
D
ele
t
e u
n
used
f
uncti
o
n
.
commit
|
commitdiff
|
tree
2008-02-07
Bernd
J
en
d
ri
s
se
k
Stor
e
refer
e
nces to character sequences a
s
indexes
.
.
.
commit
|
commitdiff
|
tree
2008-02-07
B
e
rnd Jend
r
issek
S
t
ore
r
ef
e
rences
to pa
i
rs as in
d
exes into the
i
r resource
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd
J
endrissek
resource_new_i(): R
e
tu
r
n index into re
s
ource po
o
l of
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jendris
s
ek
All
o
ca
t
e memory thro
u
gh resource p
o
o
ls ins
t
ead of ad
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jendrissek
Coll
e
ct vari
a
ble bin
d
i
ngs in a gen
e
ral "reso
u
rce
"
facilit
y
.
commit
|
commitdiff
|
tree
2008-02-06
Ber
n
d Jendri
s
sek
Ad
d
test for recur
s
ion
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jendrissek
S
u
pport
input of
i
mproper list
s
.
commit
|
commitdiff
|
tree
2008-02-06
B
e
rnd
Je
n
dri
s
sek
Implement (defi
n
e (NA
M
E ARGS
.
.
.
) BODY)
.
commit
|
commitdiff
|
tree
2008-02-06
Bern
d
Jendrissek
I
m
ple
m
en
t
(p
r
im
i
tive-e
v
al ARG)
.
commit
|
commitdiff
|
tree
2008-02-02
Bernd Jend
r
isse
k
lisp_builtin(): Co
n
structor for
a
pointer t
o
a bui
l
tin
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd J
e
ndrissek
Re
d
u
ce line count by avoid
i
ng temporar
y
variab
l
es
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendrissek
Pre
f
er to use lisp values ins
t
ead
o
f sta
t
i
cally type
d
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendri
s
s
e
k
Prefer to use
l
isp values
i
nstead of statically typed
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
B
ernd Jendrissek
Prefer to use lisp values
instead o
f
static
a
lly ty
p
ed
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendri
s
sek
D
e
fine and use const
a
n
t
_nil to represen
t
the emp
t
y
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendrissek
Simp
l
if
y
co
d
e
wit
h
li
s
p_cdr()
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendr
i
ssek
Implement (
l
ist?
A
RG
)
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Je
n
d
r
issek
lisp_cdr(): For
a
nalogy with lisp_car()
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Je
n
d
rissek
Evalu
a
te arguments to
use
r
-defined
functio
n
s
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
Si
m
p
lify li
s
t construction expre
s
sions
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrisse
k
lisp_pair()
,
lisp_opaque():
Further
s
implify code
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendriss
e
k
l
i
s
p_cons
(
): Utility fun
c
tio
n
t
o
s
i
mplify code
.
commit
|
commitdiff
|
tree
2008-01-28
Bern
d
Jendris
s
e
k
lisp_car(): Utili
t
y funct
i
on to
s
i
m
plify code
.
commit
|
commitdiff
|
tree
2008-01-28
B
e
rnd
J
en
d
rissek
Complete imple
m
e
nt
a
t
i
o
n of if
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd
Jendrissek
Don't over-coun
t
the length
o
f strings
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Je
n
drissek
Complete imple
m
e
n
tation of eq?
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd J
e
ndrissek
Add
more te
s
ts
f
o
r eq?
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
Add sk
e
leton imp
l
e
mentatio
n
of eq?
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jen
d
rissek
Add
s
keleton implementation
o
f if
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd
Jendrissek
Im
p
lement quote as a built-in macro
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
Ap
p
ly u
s
er-defined fun
c
t
io
n
s w
i
t
h arguments
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd
J
endri
s
sek
Allocate
e
nvi
r
o
n
ments dy
n
a
mically
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd J
e
ndrisse
k
Test application of user-defined function wi
t
h argume
n
ts
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Apply simp
l
e user-defined func
t
ions
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendri
s
sek
Te
s
t application of a user-defi
n
e
d function
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Je
n
drissek
Make
l
ambda ex
p
and to a us
e
r-defined fun
c
ti
o
n
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jend
r
iss
e
k
P
a
rse empt
y
l
i
sts properly
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
Jendr
i
sse
k
Ensure
t
hat empty input doesn't e
v
aluate
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Revert forg
o
tten mistrial
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
s/pars
e
_form/parse
_
forms/
g
.
commit
|
commitdiff
|
tree
2008-01-27
B
ern
d
Jendrissek
Su
p
port macros
in the evaluator
.
Add skeleton b
u
ilt
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
B
e
rnd Jendrissek
Add tests for
l
ambda
.
commit
|
commitdiff
|
tree
2008-01-27
B
ernd Jendrissek
C
o
nti
n
ue despite
ab
n
ormal exits
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendri
s
sek
Evaluate CAR of
list separately to find out if it
'
s
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd Jendrissek
R
e
n
ame va
r
iable
.
Pretty-
p
rin
t
built-in fu
n
ctions as
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrisse
k
p
air_new()
:
I
n
itialize
CDR to '()
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d Jendrisse
k
Parse a whol
e
word in o
n
e
go with parse_word
(
)
.
commit
|
commitdiff
|
tree
2008-01-27
B
ernd J
e
n
d
risse
k
charseq_new():
I
n
i
ti
a
lize
t
h
e returned object
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d Jendrissek
D
efine #t and
#
f
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendriss
e
k
Mar
k
f
u
ncti
o
ns by
a
n opaque unique
CAR
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
endrissek
Impleme
n
t (car) and (cdr)
.
commit
|
commitdiff
|
tree
2008-01-27
B
e
rnd
J
endrissek
Suppo
r
t imp
r
ope
r
lists
.
Implement
(cons)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Pass a more strongly
t
ype
d
l
ist "rest" argument
t
o
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
P
ass t
h
e environment to (eval) so it can suppo
r
t (let)
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd Jendrissek
Bind v
a
lue
s
t
o
sy
m
bols d
u
ring ev
a
lua
t
ion
.
C
all builtin
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
Jendrissek
Unify string and symb
o
l re
p
resentatio
n
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Evaluate s-
e
xpressions
.
Only su
p
ports strings an
d
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
N
UL-te
r
minate s
t
rings
a
nd sym
b
o
l
s for conven
i
ence
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Delete string_new()
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Parse strings in
s
-express
i
ons
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrisse
k
Parse sy
m
bols in s-ex
p
re
s
sion
s
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
A
rud
i
mentary
p
ar
s
er of s
-
expressions
.
commit
|
commitdiff
|
tree