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
Bernd Je
n
dris
s
e
k
Implement (lis
t
->string LIST)
.
N
ot quite th
e
same
.
.
.
commit
|
commitdiff
|
tree
2010-04-27
Bernd J
e
ndr
i
ssek
New utilit
y
function to ge
t
a length of a
l
i
st
.
commit
|
commitdiff
|
tree
2010-04-27
Bernd J
e
ndrissek
Distin
g
ui
s
h between si
z
e
of init string an
d
size of
.
.
.
commit
|
commitdiff
|
tree
2009-01-26
Bernd Jendrissek
Tokenize C p
r
ograms with Perl as implementati
o
n langua
g
e
.
commit
|
commitdiff
|
tree
2008-12-08
Bernd J
e
ndrissek
Allow ca
l
led
functions
t
o see only variables visible
.
.
.
commit
|
commitdiff
|
tree
2008-11-03
B
e
rnd Jen
d
ris
s
ek
Pre
f
er t
o
use me
m
ory
a
s managed res
o
u
rces
.
commit
|
commitdiff
|
tree
2008-11-03
Bernd Jendrissek
Implement ba
s
ic
tail calls
.
Tr
y
to co
n
serve resources
.
commit
|
commitdiff
|
tree
2008-11-03
Bernd Jendrissek
Add more ar
i
thmetic checks
.
commit
|
commitdiff
|
tree
2008-11-03
Bernd Jendr
i
s
sek
Add
support fo
r
the differe
n
c
e
/ n
e
gation operator
.
commit
|
commitdiff
|
tree
2008-10-30
Bern
d
Jendrissek
Imple
m
e
nt
the in
t
erpreted
call sta
c
k
e
x
plicitly
.
commit
|
commitdiff
|
tree
2008-10-23
Ber
n
d
Jendrissek
eva
l
_symb
o
l()
:
New function
f
actorized out of
b
u
i
ltin_eval()
.
commit
|
commitdiff
|
tree
2008-02-22
Bernd Jendrissek
I
m
plement (string->list
STRING)
.
N
ot
q
uite the
s
ame
.
.
.
commit
|
commitdiff
|
tree
2008-02-22
Bernd
Jend
r
i
ssek
Parse strings p
r
op
e
rly for
e
sc
a
p
e
sequences
.
commit
|
commitdiff
|
tree
2008-02-21
Bernd Jendrissek
Impleme
n
t (display ARG
)
.
commit
|
commitdiff
|
tree
2008-02-21
Bernd
J
endrisse
k
Mark ne
w
C-owned objects as protected
.
Exp
l
i
c
itl
y
.
.
.
commit
|
commitdiff
|
tree
2008-02-18
Bernd J
e
ndrissek
R
e-
m
ark
C
-owned objects only if
the are lisp
objects
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendri
s
sek
Let
g
o of ob
j
ects as s
o
on as
t
hey
h
ave
e
val
u
at
e
d
.
commit
|
commitdiff
|
tree
2008-02-17
B
e
rnd Jendrissek
C
o
ns a dummy non-emp
t
y li
s
t i
n
to w
h
ich to read forms
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd
Jend
r
issek
Leave objects reach
a
ble f
r
om C-owned objects mar
k
ed
.
commit
|
commitdiff
|
tree
2008-02-17
B
e
rnd J
e
n
drissek
Reclaim all objects at program
e
x
i
t
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd
J
endriss
e
k
F
actor
i
ze
g
a
rbage-collection
a
lgorithm into separat
e
.
.
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd J
e
ndrissek
Mark the fo
r
m
c
u
r
so
r
as
being C-owned
.
commit
|
commitdiff
|
tree
2008-02-17
B
e
r
nd Jendrissek
I
terate over
forms
i
n
t
he input buff
e
r
w
i
th a cons
.
.
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd
Jendrissek
Free t
h
e i
n
put buffe
r
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Je
n
drissek
M
a
r
k
separate GC bits for C
-
owned and lis
p
-owned
objects
.
commit
|
commitdiff
|
tree
2008-02-16
Ber
n
d
J
endrissek
Collect garbag
e
aft
e
r
each REPL
i
teration
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd J
e
ndrissek
Bind
a
"
rest" argu
m
ent list o
n
ly if i
t
is in the
for
m
al
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
Bern
d
Jendrissek
Delete
u
n
used fun
c
tion
.
commit
|
commitdiff
|
tree
2008-02-10
Ber
n
d
Jendri
s
s
ek
Support variable ar
g
ument
l
ists
.
commit
|
commitdiff
|
tree
2008-02-10
B
e
rnd Jendri
s
sek
Improv
e
t
est coverage
.
commit
|
commitdiff
|
tree
2008-02-10
Ber
n
d Jend
r
issek
De
f
ine compiler and com
p
iler
f
la
g
s wi
t
h $(CC)
a
nd
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
B
e
rn
d
J
endris
s
e
k
b
uiltin_new():
Create a bu
i
l
tin, but don't name it
.
commit
|
commitdiff
|
tree
2008-02-08
Bernd Jendrissek
Al
l
ocate
a new s
y
mbol only if it
i
s unique
.
commit
|
commitdiff
|
tree
2008-02-07
Bernd
J
endrissek
Delete u
n
used function
.
commit
|
commitdiff
|
tree
2008-02-07
Bernd Jendrissek
Store referenc
e
s to ch
a
racter sequenc
e
s a
s
index
e
s
.
.
.
commit
|
commitdiff
|
tree
2008-02-07
Bern
d
J
e
ndrissek
Store
references to pai
r
s a
s
in
d
exes into their
r
esource
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Be
r
nd Jen
d
rissek
resource_
n
ew_
i
(): Return inde
x
into r
e
source pool of
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jendr
i
ssek
Allocate m
e
mor
y
through reso
u
rce p
o
ols ins
t
ead of a
d
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Ber
n
d
Je
n
drissek
C
o
llect variab
l
e bindings in a general "reso
u
rce
"
facility
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jendrissek
A
dd test for recursion
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd
J
endri
s
s
ek
Support
i
n
put of
i
mproper lists
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jendrissek
Imp
l
ement
(define (NAME ARGS
.
.
.
) BODY)
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jend
r
i
s
sek
Implem
e
nt (primitive-
e
va
l
ARG)
.
commit
|
commitdiff
|
tree
2008-02-02
B
ernd
J
en
d
r
i
ssek
lisp_bu
i
l
tin(): C
o
n
s
tru
c
tor fo
r
a poin
t
er to a builtin
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jend
r
issek
Reduce line count by avoiding t
e
mpor
a
r
y
vari
a
bles
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendrissek
Prefe
r
to
u
se lisp values instead of statical
l
y
typed
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Ber
n
d Jend
r
issek
Prefer to use lisp values ins
t
ea
d
of sta
t
ically typed
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Je
n
dri
s
sek
Prefer to use lisp v
a
lues
i
nstead of statically
ty
p
ed
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendr
i
ss
e
k
De
f
ine and use constant_nil to
repr
e
sent the
empty
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd
J
endrissek
Simplify c
o
de with lisp_cdr()
.
commit
|
commitdiff
|
tree
2008-01-31
Be
r
n
d
Jendriss
e
k
Imp
l
ement (list
?
ARG)
.
commit
|
commitdiff
|
tree
2008-01-31
Bern
d
Jendris
s
ek
lisp_cdr()
:
For an
a
logy with lisp_car()
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendrissek
E
valuate arguments to use
r
-
d
efined
funct
i
ons
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
Sim
p
l
i
fy l
i
st con
s
tru
c
tion expressions
.
commit
|
commitdiff
|
tree
2008-01-28
B
er
n
d Je
n
drissek
lisp_pa
i
r(),
lisp_
o
paque(): Furth
e
r simplify
code
.
commit
|
commitdiff
|
tree
2008-01-28
Bern
d
Je
n
drissek
l
i
s
p_cons(): Utilit
y
function
to simplify
code
.
commit
|
commitdiff
|
tree
2008-01-28
B
ernd Jendrissek
li
s
p_car(): U
t
ility funct
i
on to sim
p
lify code
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd
Jendrissek
Co
m
plete impl
e
m
e
ntation of
i
f
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
D
on
'
t ov
e
r-coun
t
the l
e
ngth of
s
tring
s
.
commit
|
commitdiff
|
tree
2008-01-28
Be
r
nd Jendris
s
ek
Co
m
plete im
p
lementation of
eq?
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jen
d
r
i
ssek
Add more test
s
for
e
q?
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd
J
e
ndri
s
sek
Ad
d
ske
l
eton implemen
t
ation of
e
q
?
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd
J
endriss
e
k
Add ske
l
eton imp
l
ementation of
i
f
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd
J
endrissek
Implemen
t
quote as
a bu
i
l
t
-in
m
acro
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendr
i
s
s
ek
Apply user-defined function
s
with
a
r
gum
e
nts
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd J
e
ndrissek
A
l
locate environments d
y
namically
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
Test application of user-defined function
w
it
h
a
r
guments
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd Jendrissek
Apply simp
l
e user-defined func
t
ion
s
.
commit
|
commitdiff
|
tree
2008-01-27
B
e
r
nd J
e
n
dri
s
sek
Test applica
t
i
o
n
o
f a user-defined function
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Mak
e
lambda ex
p
and t
o
a u
s
er-defined function
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
endrissek
Par
s
e empty li
s
t
s properly
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
e
n
dr
i
ssek
Ensure that
e
mpty inpu
t
doesn't
evaluat
e
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendriss
e
k
R
e
ver
t
f
orgotte
n
mistria
l
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
s/
p
arse_form/par
s
e_
f
o
r
ms/g
.
commit
|
commitdiff
|
tree
2008-01-27
B
er
n
d
Jendr
i
ssek
Support m
a
cros in the
e
val
u
ator
.
A
d
d
ske
l
eton bui
l
t
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Ad
d
tests f
o
r lambda
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d
Jendriss
e
k
Continue de
s
pite
a
bnor
m
al exi
t
s
.
commit
|
commitdiff
|
tree
2008-01-27
Bern
d
Jendrisse
k
E
v
a
luate CAR of
l
ist separately to find
o
ut if it's
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
B
ernd Jendrissek
Rename variable
.
P
r
etty-p
r
i
n
t bu
i
l
t-in f
u
nctions a
s
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
Jendrissek
pai
r
_new(): I
n
i
t
ialize CDR to '()
.
commit
|
commitdiff
|
tree
2008-01-27
B
ernd J
e
ndrissek
Parse a whole
word in one
go with
p
arse_word
(
)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd J
e
n
d
r
issek
ch
a
r
seq_new(): Initiali
z
e the returned object
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendr
i
ssek
Define #t and #
f
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
end
r
is
s
ek
Mark functio
n
s by a
n
o
paque
unique CAR
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendr
i
ss
e
k
Implemen
t
(
car)
a
nd
(c
d
r)
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d Jendrisse
k
Sup
p
o
r
t imp
r
oper lists
.
Im
p
lement (cons)
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd Jend
r
issek
Pass a
mor
e
strongl
y
type
d
l
ist "
r
est" argument to
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrisse
k
Pass
t
he environment to (eval) so it can support
(let)
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d Jen
d
riss
e
k
Bind val
u
es to sym
b
o
l
s
during e
v
al
u
ation
.
Call
b
uiltin
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendriss
e
k
Unify str
i
ng and symbol representation
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jen
d
ris
s
ek
Evaluate s-expression
s
.
Onl
y
s
upports strings a
n
d
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
endrisse
k
NUL-terminat
e
st
r
ings
and symbols for convenience
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendris
s
ek
Delete
string
_
new()
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d Jendr
i
ssek
P
a
r
se
s
tr
i
ngs in s-express
i
ons
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Je
n
dri
s
sek
Parse symbols i
n
s-expression
s
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jend
r
issek
A rudime
n
tary
p
arser of s-
e
xpress
i
ons
.
commit
|
commitdiff
|
tree