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
Bernd
J
e
n
d
rissek
Implemen
t
(leng
t
h LI
S
T)
.
commit
|
commitdiff
|
tree
2010-04-27
Bernd Jendrissek
Imple
m
ent (list
-
>str
i
ng LIST)
.
No
t
qui
t
e the same
.
.
.
commit
|
commitdiff
|
tree
2010-04-27
Bernd Jendr
i
ssek
New utility function to get
a
length of a list
.
commit
|
commitdiff
|
tree
2010-04-27
B
ernd Jendr
i
ssek
Di
s
tinguish between size of init string and size of
.
.
.
commit
|
commitdiff
|
tree
2009-01-26
Bernd
J
e
ndrissek
Tokenize C progra
m
s with P
e
rl as i
m
plemen
t
ation language
.
commit
|
commitdiff
|
tree
2008-12-08
Bernd Jen
d
rissek
Allow
c
alled functions to
see only variables visible
.
.
.
commit
|
commitdiff
|
tree
2008-11-03
Bernd Jendrissek
Prefer
t
o u
s
e memo
r
y as ma
n
aged re
s
ources
.
commit
|
commitdiff
|
tree
2008-11-03
Bern
d
Je
n
drisse
k
Implem
e
nt basi
c
tail
calls
.
Tr
y
to conserve resources
.
commit
|
commitdiff
|
tree
2008-11-03
B
e
rnd
J
endr
i
ssek
Add more
a
r
i
thmetic checks
.
commit
|
commitdiff
|
tree
2008-11-03
B
e
r
nd
J
endrissek
Add supp
o
rt f
o
r th
e
differe
n
ce
/ n
e
ga
t
i
on operator
.
commit
|
commitdiff
|
tree
2008-10-30
Bernd
J
en
d
riss
e
k
Implement
t
h
e inte
r
pr
e
t
ed cal
l
stack explicitly
.
commit
|
commitdiff
|
tree
2008-10-23
Be
r
nd Jendrissek
e
v
al_symbol(): New functio
n
fa
c
t
orized out o
f
bui
l
tin_eval()
.
commit
|
commitdiff
|
tree
2008-02-22
Bern
d
Jend
r
issek
Im
p
l
ement (st
r
i
ng->list STRING)
.
Not q
u
ite
t
he same
.
.
.
commit
|
commitdiff
|
tree
2008-02-22
B
e
r
nd J
e
nd
r
i
ss
e
k
Parse strings prop
e
r
ly fo
r
escape sequ
e
nces
.
commit
|
commitdiff
|
tree
2008-02-21
Be
r
nd Jendrissek
I
mpleme
n
t (display ARG)
.
commit
|
commitdiff
|
tree
2008-02-21
Be
r
nd Jen
d
ris
s
ek
Mark new C-owned objects
as protected
.
E
x
p
l
ici
t
ly
.
.
.
commit
|
commitdiff
|
tree
2008-02-18
B
e
r
nd Jendrissek
Re-mark C-o
w
ne
d
obj
e
cts
only
if t
h
e are lisp object
s
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd
J
endrissek
Let
g
o of obj
e
cts as soon as they
h
ave evaluated
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Je
n
dris
s
ek
Cons a dummy non-empty list into w
h
ich to
read for
m
s
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendrissek
Le
a
ve objects rea
c
hab
l
e from C-
o
wned ob
j
ect
s
marked
.
commit
|
commitdiff
|
tree
2008-02-17
Be
r
nd Jendrissek
Reclaim al
l
o
bjects
at pr
o
gram ex
i
t
.
commit
|
commitdiff
|
tree
2008-02-17
B
e
rnd Je
n
drisse
k
Facto
r
i
z
e garb
a
ge-collection algorithm
i
nto se
p
arate
.
.
.
commit
|
commitdiff
|
tree
2008-02-17
Bern
d
Jend
r
issek
Mark the form
c
ursor a
s
b
e
ing C
-
own
e
d
.
commit
|
commitdiff
|
tree
2008-02-17
Be
r
nd Jend
r
issek
Iterate o
v
er forms in the inp
u
t buffer w
i
th
a
c
ons
.
.
.
commit
|
commitdiff
|
tree
2008-02-17
Ber
n
d Jendriss
e
k
Free th
e
input buf
f
er
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Je
n
drissek
Mark se
p
arate G
C
bits f
o
r C-owned and
l
isp-ow
n
e
d
o
b
j
ects
.
commit
|
commitdiff
|
tree
2008-02-16
Bernd Jendri
s
sek
Co
l
le
c
t garbage after ea
c
h REPL ite
r
a
t
ion
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd Jend
r
is
s
e
k
Bind a "rest" argument l
i
st only if it is in the formal
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd
J
e
n
drissek
Delet
e
unus
e
d function
.
commit
|
commitdiff
|
tree
2008-02-10
B
ern
d
Jendrisse
k
Support v
a
riable argument
l
ists
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd
Jen
d
rissek
Improve test co
v
erage
.
commit
|
commitdiff
|
tree
2008-02-10
Ber
n
d Jendrissek
Define co
m
piler a
n
d compiler fl
a
gs w
i
th $(CC) a
n
d
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd Jendrisse
k
b
uiltin_new(): Create a
b
uiltin
,
but don'
t
name i
t
.
commit
|
commitdiff
|
tree
2008-02-08
B
ernd Jendrissek
Allocate a new symbol only if it is unique
.
commit
|
commitdiff
|
tree
2008-02-07
Bernd J
e
ndrisse
k
Delete
unused
function
.
commit
|
commitdiff
|
tree
2008-02-07
Bernd Jendrissek
S
tore reference
s
to character sequen
c
es as i
n
dex
e
s
.
.
.
commit
|
commitdiff
|
tree
2008-02-07
Bernd Je
n
d
r
issek
S
t
o
re referenc
e
s to pairs
a
s
indexes int
o
their resource
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jen
d
rissek
resource_new_i(): Ret
u
rn index i
n
to resourc
e
p
ool
of
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jendris
s
ek
Allocate memory thr
o
ugh r
e
source po
o
l
s
i
n
stea
d
of ad
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Ber
n
d Jen
d
ri
s
se
k
Collect variable bindings
i
n a gene
r
al "resource"
facilit
y
.
commit
|
commitdiff
|
tree
2008-02-06
Ber
n
d Jendrissek
Add test for
recursion
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jen
d
rissek
Support
i
nput o
f
improper lists
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jen
d
rissek
I
m
plement (define (
N
AME ARGS
.
.
.
) BODY)
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jen
d
riss
e
k
I
m
p
l
ement (pr
i
mitive-ev
a
l ARG)
.
commit
|
commitdiff
|
tree
2008-02-02
B
e
rnd Je
n
drissek
lisp_builtin(): Cons
t
ructor for a pointer to a bu
i
ltin
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
B
e
r
n
d
J
en
d
rissek
R
e
d
u
ce line count by
avoid
i
ng tempora
r
y variables
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd
J
endr
i
ssek
Prefe
r
to use li
s
p val
u
e
s
i
n
stead of s
t
atically t
y
ped
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Ber
n
d Jend
r
i
ssek
Prefer to use lisp values i
n
s
tead of
statically typed
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
B
e
r
nd
J
end
r
i
s
sek
Pr
e
fer to
u
s
e
lisp
values
instead of st
a
tically ty
p
ed
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd J
e
nd
r
issek
D
e
fine
and
use c
o
n
s
t
ant_nil to
represent the empty
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendrissek
Simplify code with lisp_cdr(
)
.
commit
|
commitdiff
|
tree
2008-01-31
B
ernd Jendris
s
ek
Im
p
lement
(
list?
A
RG)
.
commit
|
commitdiff
|
tree
2008-01-31
B
ernd Jendrissek
lisp_cdr(): For analogy with lisp_car()
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendrissek
Eval
u
ate a
r
guments to user-defined funct
i
ons
.
commit
|
commitdiff
|
tree
2008-01-28
Bern
d
Jend
r
i
s
sek
Simplify l
i
st c
o
ns
t
r
u
ction expr
e
s
si
o
ns
.
commit
|
commitdiff
|
tree
2008-01-28
Be
r
nd Jend
r
issek
l
isp_pair(), lisp_op
a
que(
)
:
Further simplify code
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
lis
p
_cons(): Ut
i
lity function to simplify code
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd
J
endrissek
lisp_car():
Utility functi
o
n to
s
implify code
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendri
s
s
e
k
Comp
l
ete
imple
m
entation of if
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
Don't over-count
the len
g
th of strings
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendris
s
ek
Complete implementatio
n
of eq?
.
commit
|
commitdiff
|
tree
2008-01-28
Bern
d
Je
n
drisse
k
Add
m
o
re tests for eq?
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
Ad
d
skeleton implement
a
tion of
eq?
.
commit
|
commitdiff
|
tree
2008-01-28
Be
r
nd Jendr
i
ssek
Add s
k
eleton implementation of if
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jend
r
i
s
sek
Impl
e
ment quote as a built-in macro
.
commit
|
commitdiff
|
tree
2008-01-28
B
ernd Je
n
dris
s
ek
Apply u
s
er-defined
functi
o
n
s
w
i
th arguments
.
commit
|
commitdiff
|
tree
2008-01-28
Ber
n
d Jendr
i
s
s
e
k
Alloc
a
te envi
r
onments dy
n
a
m
ic
a
lly
.
commit
|
commitdiff
|
tree
2008-01-28
Be
r
nd Jendrissek
T
e
st appl
i
catio
n
o
f user
-
defi
n
ed function with arguments
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
e
n
d
r
iss
e
k
A
pply
s
impl
e
u
ser-defi
n
ed f
u
nctions
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d
Jendrisse
k
T
est appli
c
ation of a
u
s
e
r-defined function
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd Jend
r
i
s
sek
M
a
k
e
lambda
expand to a
us
e
r-defined fu
n
c
t
ion
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Parse empty list
s
pro
p
erly
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Ensure
that empty in
p
ut doesn
'
t evaluate
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jen
d
rissek
R
e
vert forgo
t
ten mistr
i
al
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jen
d
risse
k
s
/
parse_
f
orm/parse_forms/g
.
commit
|
commitdiff
|
tree
2008-01-27
B
e
rnd
Jendri
s
sek
Support macros in
t
he evalu
a
tor
.
Add
s
keleto
n
b
uilt
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Je
n
drissek
Add
tests f
o
r
l
a
m
bda
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
Jendrissek
C
o
ntinue despite
abnormal exits
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
endrissek
Evaluat
e
CAR of li
s
t
s
e
p
a
rately to find out if
it'
s
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Rename variable
.
Pretty
-
print built-in
f
unctions as
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bern
d
Jendrissek
p
a
i
r_new(): I
n
itiali
z
e CDR
t
o '()
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d J
e
ndriss
e
k
Pars
e
a
w
hole word in on
e
go with pa
r
se_wor
d
()
.
commit
|
commitdiff
|
tree
2008-01-27
Bern
d
Jendrissek
charse
q
_
new(): Initialize th
e
r
e
t
u
rne
d
obje
c
t
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
endriss
e
k
D
ef
i
ne #t and #f
.
commit
|
commitdiff
|
tree
2008-01-27
B
er
n
d Jendrissek
Mark f
u
nc
t
ions by
a
n opaque uni
q
ue CAR
.
commit
|
commitdiff
|
tree
2008-01-27
B
e
rnd Jendrissek
Imp
l
eme
n
t (car)
a
nd (cdr)
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d J
e
ndri
s
sek
Support
i
mproper l
i
sts
.
I
mpl
e
m
e
nt (cons)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
P
a
ss a
m
ore
s
tron
g
l
y typed list "rest"
a
r
g
u
m
ent
t
o
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd J
e
ndr
i
s
sek
Pass the environment t
o
(eval) so it can sup
p
ort (let)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Bin
d
val
u
es to symb
o
l
s during evalua
t
ion
.
Call builtin
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendriss
e
k
Unif
y
s
tri
n
g and
symbol representation
.
commit
|
commitdiff
|
tree
2008-01-27
B
ernd Jen
d
rissek
Evaluate s-expressions
.
Only sup
p
o
r
ts str
i
ngs and
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
B
ernd
Jen
d
rissek
NUL-t
e
rminate string
s
and symbols for convenience
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jend
r
i
ssek
Delete stri
n
g_n
e
w()
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Je
n
dris
s
ek
Parse strings in
s
-expressi
o
n
s
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd J
e
ndr
i
ssek
Parse symbols in s-e
x
p
r
e
ssions
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd Jendrissek
A r
u
di
m
entary
p
arser of s-expressions
.
commit
|
commitdiff
|
tree