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
Tokenize C programs with Perl as implementation language.
2009-01-26
Bernd Jendrissek
Tok
e
niz
e
C progr
a
ms with
P
erl as
i
m
p
l
e
mentation
l
an
g
uage
.
commit
|
commitdiff
|
tree
2008-12-08
Bernd Je
n
drissek
Allow
c
alled
f
unctio
n
s
t
o se
e
onl
y
variables
v
isi
b
l
e
.
.
.
commit
|
commitdiff
|
tree
2008-11-03
Bernd Jendris
s
ek
Prefer to use memo
r
y as man
a
ged reso
u
r
ces
.
commit
|
commitdiff
|
tree
2008-11-03
Bernd Jen
d
r
i
s
s
e
k
Imple
m
ent basic tail calls
.
T
ry to conserve reso
u
rces
.
commit
|
commitdiff
|
tree
2008-11-03
Bernd Jendrissek
Add more arithme
t
ic chec
k
s
.
commit
|
commitdiff
|
tree
2008-11-03
Ber
n
d Jendri
s
sek
Add support for
the differ
e
nce / neg
a
tion operator
.
commit
|
commitdiff
|
tree
2008-10-30
B
ernd Jen
d
rissek
Implemen
t
the interp
r
e
t
ed call st
a
c
k
explicitly
.
commit
|
commitdiff
|
tree
2008-10-23
Bernd
Jendrissek
eval_sym
b
ol(): New function facto
r
ized out of b
u
ilti
n
_eval()
.
commit
|
commitdiff
|
tree
2008-02-22
Bernd
J
endrissek
Implement
(stri
n
g->list STRING)
.
Not quite the sa
m
e
.
.
.
commit
|
commitdiff
|
tree
2008-02-22
Bernd Je
n
dri
s
sek
Parse strin
g
s
p
r
operly
f
o
r
escape sequences
.
commit
|
commitdiff
|
tree
2008-02-21
Ber
n
d Jendrissek
Impl
e
ment (display ARG)
.
commit
|
commitdiff
|
tree
2008-02-21
Bernd Jendris
s
ek
Mark
n
ew C-
o
wned objec
t
s as pro
t
e
c
ted
.
E
x
plici
t
l
y
.
.
.
commit
|
commitdiff
|
tree
2008-02-18
Bernd Jendrissek
Re-mark C-owned objects onl
y
if the are lisp ob
j
ects
.
commit
|
commitdiff
|
tree
2008-02-17
Be
r
nd Je
n
drissek
Let
g
o of
o
bje
c
ts
as so
o
n as they have evaluated
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd
J
endriss
e
k
C
o
n
s a dummy no
n
-empty li
s
t i
n
to whi
c
h to rea
d
forms
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendrissek
Leav
e
objects re
a
chable from C
-
owned objects
marked
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendrissek
Reclaim all ob
j
ects
at p
r
ogram exit
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jen
d
rissek
F
actorize
garbage-coll
e
ct
i
on a
l
gorithm into
separate
.
.
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd
J
endrissek
M
a
rk t
h
e form curso
r
as
b
eing C-owned
.
commit
|
commitdiff
|
tree
2008-02-17
B
e
r
n
d Jen
d
rissek
Iterate ov
e
r forms
i
n the input buffer wit
h
a
cons
.
.
.
commit
|
commitdiff
|
tree
2008-02-17
B
ernd Jen
d
rissek
Free the inpu
t
b
uffer
.
commit
|
commitdiff
|
tree
2008-02-17
B
e
r
nd Jendr
i
sse
k
Mark
separate G
C
bits for C-owned and lis
p
-owned objects
.
commit
|
commitdiff
|
tree
2008-02-16
Bernd Jendrissek
Collect garbage aft
e
r each REPL ite
r
at
i
o
n
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd J
e
n
d
rissek
Bind a "rest" argumen
t
list on
l
y if it is in
the for
m
a
l
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
Bern
d
J
e
n
d
rissek
Delet
e
unused function
.
commit
|
commitdiff
|
tree
2008-02-10
B
e
rnd Jendriss
e
k
S
u
pport vari
a
b
le a
r
g
u
ment l
i
sts
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd Jendrissek
I
mprove tes
t
c
ov
e
rage
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd Jendrissek
D
e
f
i
ne compile
r
a
nd compil
e
r
flags w
i
th $(CC) and
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
Bern
d
J
endrissek
buil
t
in_ne
w
():
Create a
builtin, but don't nam
e
it
.
commit
|
commitdiff
|
tree
2008-02-08
Bernd
J
endrissek
Alloc
a
te a new symbol
only
if it
is
u
niq
u
e
.
commit
|
commitdiff
|
tree
2008-02-07
B
ernd
Je
n
drissek
Delet
e
unu
s
e
d
fu
n
ction
.
commit
|
commitdiff
|
tree
2008-02-07
Bernd Jendrissek
Store references to char
a
cte
r
sequenc
e
s as index
e
s
.
.
.
commit
|
commitdiff
|
tree
2008-02-07
B
ernd Jendrissek
Store r
e
ferenc
e
s
to
pairs as indexes into their resource
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Be
r
nd Jendrissek
resource
_
new_
i
(): Ret
u
rn ind
e
x into resource pool of
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jendris
s
ek
Allocate memo
r
y t
h
ro
u
gh resource pools instead of ad
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jendris
s
ek
C
o
llect v
a
riable bindi
n
gs
in a g
e
n
eral "resour
c
e" f
a
cility
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jen
d
rissek
Add test fo
r
r
e
cursion
.
commit
|
commitdiff
|
tree
2008-02-06
B
ernd
Jendrissek
Sup
p
ort input of i
m
p
r
oper li
s
ts
.
commit
|
commitdiff
|
tree
2008-02-06
B
e
r
n
d Jendriss
e
k
Imp
l
ement
(
define (NAME ARGS
.
.
.
) BODY)
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jendrissek
I
m
plement
(primitive-ev
a
l
A
RG)
.
commit
|
commitdiff
|
tree
2008-02-02
Bernd J
e
ndri
s
sek
l
isp_b
u
il
t
in(
)
: Co
n
structor for
a
poin
t
er to a b
u
i
l
t
i
n
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
B
ernd J
e
n
drissek
Reduce line c
o
unt
by avoi
d
ing tem
p
o
rary variables
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendriss
e
k
Pr
e
fer
to use lisp values instead of statically
t
yped
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendris
s
ek
Prefer t
o
use
l
isp values instead
of statica
l
l
y typed
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
B
e
rnd J
e
n
drissek
Pre
f
er to
u
se lisp v
a
lues instead of
s
t
atically typed
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd J
e
n
d
ris
s
e
k
Define and use con
s
tant_nil to repr
e
sent the empty
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Be
r
nd Jendrissek
Simplify code with lisp_cdr()
.
commit
|
commitdiff
|
tree
2008-01-31
Ber
n
d
J
endrissek
Implement (list?
A
RG)
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendrissek
lisp_cd
r
(): For a
n
alogy with lisp
_
car()
.
commit
|
commitdiff
|
tree
2008-01-31
B
e
rnd Jendrissek
Evalua
t
e
a
rguments to user-defined func
t
ions
.
commit
|
commitdiff
|
tree
2008-01-28
B
ernd Jend
r
issek
Simplify list constructi
o
n
expressions
.
commit
|
commitdiff
|
tree
2008-01-28
Bern
d
Jendris
s
ek
lisp_pair
(
), lis
p
_opaque(): Further s
i
mplify code
.
commit
|
commitdiff
|
tree
2008-01-28
B
ernd Jendrissek
lisp_cons
(
): Utili
t
y f
u
n
c
ti
o
n to s
i
mpl
i
fy code
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendr
i
ssek
lisp_car()
:
Ut
i
lity function to sim
p
lify code
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd J
e
ndri
s
s
e
k
Complete implementation of if
.
commit
|
commitdiff
|
tree
2008-01-28
Ber
n
d Jen
d
rissek
Don't over
-
count the length
o
f strings
.
commit
|
commitdiff
|
tree
2008-01-28
Bern
d
Jendr
i
ssek
Complete implementa
t
ion of eq?
.
commit
|
commitdiff
|
tree
2008-01-28
B
e
rnd Jendris
s
ek
Add more tes
t
s f
o
r eq?
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
A
dd s
k
eleton implementation of eq?
.
commit
|
commitdiff
|
tree
2008-01-28
Bern
d
J
e
ndrissek
Add
s
keleton impleme
n
tation of
i
f
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendri
s
sek
Imple
m
ent quote
as a built-in macro
.
commit
|
commitdiff
|
tree
2008-01-28
B
ernd Je
n
drissek
A
p
pl
y
u
s
er-defi
n
ed functions with arguments
.
commit
|
commitdiff
|
tree
2008-01-28
Bern
d
Jendrissek
A
llocate envir
o
nm
e
nts dynamical
l
y
.
commit
|
commitdiff
|
tree
2008-01-28
B
e
rnd Jendriss
e
k
T
e
st applicati
o
n of user-d
e
fined function with arguments
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Apply
simple user-def
i
ned f
u
nctions
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendri
s
sek
Tes
t
applicat
i
o
n
of a user-defined function
.
commit
|
commitdiff
|
tree
2008-01-27
B
e
r
nd Jendrissek
Make l
a
mbda expa
n
d to
a user-defined function
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
e
ndr
i
ssek
Par
s
e empt
y
lists properly
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendr
i
ssek
Ens
u
re tha
t
e
m
pty input does
n
't eva
l
uate
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd Jendrissek
Revert for
g
otten mi
s
t
r
ial
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Je
n
dr
i
ssek
s/pars
e
_f
o
rm/parse_forms/g
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Je
n
d
r
i
s
sek
Support macr
o
s i
n
the eval
u
ator
.
Add s
k
eleton bu
i
lt
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
B
e
rn
d
Jendri
s
s
ek
Add tests
for lam
b
da
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendri
s
sek
Continu
e
desp
i
te
a
b
n
o
rmal ex
i
ts
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d
Jendriss
e
k
Evaluate CAR of list separately to fi
n
d out if
i
t's
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd Jendrissek
R
e
na
m
e
var
i
able
.
Prett
y
-pr
i
nt bui
l
t-in
functio
n
s
a
s
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
B
e
rnd Jendrissek
pai
r
_new(): Initi
a
lize CDR
to '(
)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Pa
r
se a wh
o
le word in one go with parse_wor
d
(
)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
Jen
d
rissek
charseq_ne
w
(): Ini
t
ial
i
ze the r
e
t
u
r
n
ed
object
.
commit
|
commitdiff
|
tree
2008-01-27
B
e
rn
d
Jendrissek
Defi
n
e #
t
and #f
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendriss
e
k
Mark functi
o
ns
by
a
n opa
q
u
e
unique CAR
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
n
d Jendrissek
Implemen
t
(car
)
and (
c
dr)
.
commit
|
commitdiff
|
tree
2008-01-27
B
ernd Jendrissek
Supp
o
rt im
p
roper lists
.
Implement (
c
ons)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
en
d
rissek
Pass
a
m
o
re strongl
y
ty
p
ed l
i
st "res
t
" argument to
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Pass t
h
e en
v
ironment t
o
(eval) so it can support (let)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd J
e
ndri
s
sek
Bind values t
o
symb
o
ls dur
i
ng evaluat
i
on
.
Call buil
t
in
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
en
d
rissek
Unify string a
n
d symbol
r
epre
s
ent
a
tion
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendr
i
s
sek
E
v
aluate
s
-expre
s
sions
.
Only supports stri
n
g
s and
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendriss
e
k
NUL-te
r
m
i
nate stri
n
gs and symbols fo
r
co
n
venience
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d Jendrissek
D
e
l
e
te string
_
new()
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jen
d
rissek
P
a
rse strings in s-expr
e
ssions
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d Jendris
s
ek
Parse symbols in
s
-expre
s
sions
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
n
d
J
e
nd
r
issek
A
rud
i
mentary
parser of s-expressions
.
commit
|
commitdiff
|
tree