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
Ignore some generated files.
2010-06-26
Bernd Jendr
i
ssek
Ignor
e
some gene
r
ated files
.
commit
|
commitdiff
|
tree
2010-06-26
Be
r
n
d
Jend
r
is
s
ek
SREC loader
.
commit
|
commitdiff
|
tree
2010-06-26
Be
r
nd Jendrissek
One day, there will be a shel
l
here
.
commit
|
commitdiff
|
tree
2010-06-26
Bernd Jen
d
riss
e
k
Autom
a
ke, ex nihilo
.
commit
|
commitdiff
|
tree
2010-05-20
Bernd Jendrisse
k
Demonstrate ap
p
ly in ter
m
s of the slightly
b
r
oken p
r
imitive
.
.
.
commit
|
commitdiff
|
tree
2010-04-27
B
ernd Je
n
d
riss
e
k
E
s
cape double-
q
uotes w
h
e
n prettyprinting them
.
commit
|
commitdiff
|
tree
2010-04-27
Be
r
nd Jendrissek
Impleme
n
t (len
g
th LIST)
.
commit
|
commitdiff
|
tree
2010-04-27
Be
r
n
d Jend
r
i
s
s
e
k
Impleme
n
t
(
l
i
st->s
t
ri
n
g LIST)
.
N
o
t quite t
h
e same
.
.
.
commit
|
commitdiff
|
tree
2010-04-27
B
e
r
n
d Jendris
s
ek
Ne
w
utili
t
y
f
unctio
n
t
o get a length of a list
.
commit
|
commitdiff
|
tree
2010-04-27
Bernd Jendr
i
ss
e
k
Disting
u
i
s
h bet
w
een size of i
n
i
t
string and size of
.
.
.
commit
|
commitdiff
|
tree
2009-01-26
B
ernd Jen
d
risse
k
Token
i
ze C prog
r
ams wi
t
h Perl as implementa
t
ion langu
a
ge
.
commit
|
commitdiff
|
tree
2008-12-08
Bernd Je
n
driss
e
k
Allow called functions to
s
e
e only variab
l
es visible
.
.
.
commit
|
commitdiff
|
tree
2008-11-03
B
e
r
n
d
Jendrissek
Pr
e
fer to use
memory as manag
e
d resources
.
commit
|
commitdiff
|
tree
2008-11-03
Bern
d
Jendrissek
Implement basic tail cal
l
s
.
Try to conserve resources
.
commit
|
commitdiff
|
tree
2008-11-03
Bernd Jend
r
issek
A
dd more arithmet
i
c checks
.
commit
|
commitdiff
|
tree
2008-11-03
Bernd
Jen
d
rissek
A
d
d sup
p
ort for the difference / n
e
gatio
n
op
e
rato
r
.
commit
|
commitdiff
|
tree
2008-10-30
Bernd Jendrissek
Imple
m
ent th
e
i
n
terp
r
et
e
d
ca
l
l
sta
c
k e
x
p
licitly
.
commit
|
commitdiff
|
tree
2008-10-23
B
ernd Jendrissek
eval_symbol(): N
e
w fu
n
ction factorized out
of builtin_eval()
.
commit
|
commitdiff
|
tree
2008-02-22
Bernd Jendri
s
sek
Implemen
t
(string->list STRING)
.
Not quite the same
.
.
.
commit
|
commitdiff
|
tree
2008-02-22
Bernd Jend
r
issek
Parse
st
r
ings pr
o
p
erly
f
or
e
sc
a
pe sequence
s
.
commit
|
commitdiff
|
tree
2008-02-21
Bernd Jendrissek
I
mplement
(di
s
play
A
RG)
.
commit
|
commitdiff
|
tree
2008-02-21
Bernd
J
endrissek
Mark
new C-owned obj
e
cts
as protected
.
Explicitl
y
.
.
.
commit
|
commitdiff
|
tree
2008-02-18
Be
r
n
d
Jen
d
rissek
Re-mark C
-
owne
d
obje
c
ts only if t
h
e are l
i
sp objects
.
commit
|
commitdiff
|
tree
2008-02-17
B
ernd Jendriss
e
k
L
e
t go o
f
objects as soon as they
h
a
v
e evaluated
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendriss
e
k
Cons a dummy
non-e
m
pty list
into which t
o
r
ead forms
.
commit
|
commitdiff
|
tree
2008-02-17
Ber
n
d
J
endri
s
sek
Leave o
b
ject
s
r
e
achable
f
rom
C
-own
e
d
obj
e
cts mark
e
d
.
commit
|
commitdiff
|
tree
2008-02-17
Ber
n
d
J
en
d
rissek
Reclaim a
l
l o
b
j
e
c
ts at pro
g
ra
m
exit
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jend
r
iss
e
k
Factorize g
a
rbage-collect
i
on
a
l
go
r
it
h
m
into se
p
a
r
ate
.
.
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendrissek
Mark th
e
f
orm c
u
rso
r
as
being
C-owned
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendrissek
Ite
r
ate ove
r
fo
r
ms in the
input
b
uffer with
a
cons
.
.
.
commit
|
commitdiff
|
tree
2008-02-17
Bern
d
Je
n
drissek
Fre
e
the
i
np
u
t buffer
.
commit
|
commitdiff
|
tree
2008-02-17
Ber
n
d Je
n
dri
s
s
e
k
Mark s
e
par
a
te GC bits
f
o
r C
-
o
wned and lisp
-
owned
o
b
j
ects
.
commit
|
commitdiff
|
tree
2008-02-16
Bernd Jendrissek
Col
l
ect gar
b
a
g
e af
t
er each REPL iterat
i
o
n
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd
J
en
d
rissek
B
ind a "
r
est"
argu
m
ent list
o
nly if it is in
the formal
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd
Jendrisse
k
Delete unused function
.
commit
|
commitdiff
|
tree
2008-02-10
Be
r
nd
Jendrissek
S
u
pp
o
r
t v
a
ria
b
le ar
g
ument lists
.
commit
|
commitdiff
|
tree
2008-02-10
Ber
n
d Jendri
s
sek
Im
p
rove test
cove
r
age
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd Jen
d
r
iss
e
k
Define compiler a
n
d
compil
e
r fl
a
gs with $(CC) and
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd Jend
r
issek
builtin_new
(
):
Create a bu
i
ltin,
but don't name it
.
commit
|
commitdiff
|
tree
2008-02-08
B
ern
d
Jendrissek
All
o
cat
e
a new s
y
mbol only
i
f it is
unique
.
commit
|
commitdiff
|
tree
2008-02-07
Bernd Jendrissek
Delete unused function
.
commit
|
commitdiff
|
tree
2008-02-07
Ber
n
d
Je
n
drisse
k
St
o
re ref
e
rences t
o
character sequences as i
n
dex
e
s
.
.
.
commit
|
commitdiff
|
tree
2008-02-07
Ber
n
d Jendr
i
ssek
Store referenc
e
s to pairs as index
e
s
into t
h
eir resou
r
c
e
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jend
r
issek
reso
u
rce_new_i(): Return
i
ndex
i
nto r
e
sour
c
e pool of
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
B
e
r
n
d Jendrissek
Allocate memo
r
y
through r
e
sourc
e
pools instead of ad
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Be
r
nd
J
endrisse
k
Collect variable
b
i
n
d
ings
i
n a general "resource" facility
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jendr
i
ss
e
k
Add te
s
t
for recu
r
sion
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd
J
endrissek
Su
p
port i
n
p
u
t of impr
o
per lists
.
commit
|
commitdiff
|
tree
2008-02-06
B
e
rnd Jendrissek
I
mplement
(
define
(
NA
M
E A
R
GS
.
.
.
) BODY)
.
commit
|
commitdiff
|
tree
2008-02-06
B
ernd Jend
r
issek
Implem
e
nt (primitive-eval ARG)
.
commit
|
commitdiff
|
tree
2008-02-02
B
ernd Jendrisse
k
lis
p
_builtin(): Constructo
r
for a pointer t
o
a
builti
n
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd
Jendris
s
e
k
R
educe line
count
by
a
voiding temporar
y
var
i
ables
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jend
r
isse
k
Prefer to
use l
i
sp va
l
ues in
s
te
a
d of statica
l
l
y t
y
ped
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
B
ernd J
e
ndri
s
sek
Prefer to use lisp value
s
instea
d
of statically typed
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendrissek
P
refer
t
o use
lisp values instead
o
f stat
i
cally typed
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendrisse
k
Define and us
e
co
n
stant_nil to
r
epre
s
e
nt
the
empty
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendri
s
sek
Simplify c
o
de wit
h
lisp_cdr(
)
.
commit
|
commitdiff
|
tree
2008-01-31
Be
r
n
d Jen
d
rissek
Impleme
n
t
(list? AR
G
)
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd
J
endrissek
lisp_cdr(
)
:
F
or ana
l
ogy wi
t
h lisp
_
car()
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jend
r
is
s
ek
Evaluate argu
m
ent
s
to user-defined functions
.
commit
|
commitdiff
|
tree
2008-01-28
Ber
n
d
J
end
r
i
s
sek
Simpli
f
y list
c
ons
t
ruction expressi
o
ns
.
commit
|
commitdiff
|
tree
2008-01-28
Ber
n
d Jendrissek
lisp_pair(
)
, lis
p
_opaque(): Further simplify co
d
e
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
lisp_cons():
U
ti
l
ity function to simplify code
.
commit
|
commitdiff
|
tree
2008-01-28
Be
r
nd J
e
ndrissek
l
i
sp_car(): Utility funct
i
on to
s
implify code
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
Comp
l
ete
i
mplem
e
ntation of
i
f
.
commit
|
commitdiff
|
tree
2008-01-28
B
ernd Jend
r
issek
D
on't over-cou
n
t the
length
of
strings
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
Co
m
plete impl
e
me
n
tation
of eq
?
.
commit
|
commitdiff
|
tree
2008-01-28
B
e
rnd Jendrissek
Add more tes
t
s fo
r
eq?
.
commit
|
commitdiff
|
tree
2008-01-28
Be
r
nd Jendrissek
Add skele
t
on impl
e
mentation of eq?
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd
Jen
d
rissek
Add skeleton implementation
of if
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd
J
endrisse
k
Implement qu
o
te as a built-in m
a
cro
.
commit
|
commitdiff
|
tree
2008-01-28
B
ernd J
e
ndrissek
Apply user-defined
f
unctions wi
t
h arguments
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
Alloc
a
te environments
d
y
n
amica
l
ly
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
Tes
t
applicati
o
n of us
e
r-defined function with
arguments
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendri
s
sek
A
p
p
ly simple user-de
f
i
ned functions
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Test appl
i
cation of
a
u
s
er-d
e
f
i
ne
d
fu
n
cti
o
n
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
Jendrissek
Make lambda expand to a
user-defined
f
unction
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Parse empt
y
lists
properly
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
Jendrissek
Ensure that empty input doesn't e
v
aluat
e
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d Jendrissek
Revert forgo
t
t
e
n mistri
a
l
.
commit
|
commitdiff
|
tree
2008-01-27
Bern
d
Jen
d
rissek
s/parse_f
o
rm/parse_
f
orms/g
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Je
n
drissek
Support m
a
c
ros
i
n th
e
evaluator
.
A
dd skeleton built
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Add
tests
f
or lambda
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
C
ont
i
nue de
s
pite abnorm
a
l
exits
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
e
n
d
ri
s
sek
E
v
aluate
C
AR of list se
p
arat
e
ly to f
i
nd
o
u
t if it's
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bern
d
Jendrissek
R
ename
v
ari
a
ble
.
P
retty-print built-in f
u
nctio
n
s as
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
end
r
i
s
sek
pair_ne
w
()
:
Initialize CDR to '()
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jen
d
rissek
Parse a whole w
o
rd in one go
wi
t
h parse_word()
.
commit
|
commitdiff
|
tree
2008-01-27
Bern
d
J
e
ndrissek
cha
r
seq_
n
ew(): Init
i
alize the returned object
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd J
e
nd
r
issek
Define #t
a
nd #f
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d
J
en
d
rissek
Mark fun
c
t
ions
by an opaque
unique CA
R
.
commit
|
commitdiff
|
tree
2008-01-27
B
ernd Jendrissek
I
m
plement
(
c
a
r
) and
(
cdr)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Support improp
e
r list
s
.
Implement (c
o
ns)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
end
r
issek
Pass a mor
e
str
o
ngly
t
yp
e
d
list
"
rest" ar
g
ument
t
o
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Pa
s
s the environment to (eva
l
) so i
t
ca
n
support (let)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendri
s
s
e
k
Bind values to
s
y
m
b
o
ls du
r
ing evalua
t
ion
.
Call
b
u
i
ltin
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Uni
f
y string
a
nd symbol representatio
n
.
commit
|
commitdiff
|
tree
2008-01-27
Bern
d
J
e
ndri
s
sek
Evaluate
s
-e
x
pressions
.
Only su
p
ports
strings and
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
end
r
issek
NUL-terminate strings
a
n
d
s
ymbo
l
s for con
v
enience
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jen
d
rissek
D
elete string_new()
.
commit
|
commitdiff
|
tree
next