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
Be
r
n
d Jendrissek
Toke
n
iz
e
C prog
r
ams with Pe
r
l as im
p
lementation languag
e
.
commit
|
commitdiff
|
tree
2008-12-08
Be
r
nd Jendrisse
k
A
ll
o
w called functions to
s
ee only variables v
i
sibl
e
.
.
.
commit
|
commitdiff
|
tree
2008-11-03
Bernd Jend
r
issek
Prefe
r
to use
m
emory as managed
resources
.
commit
|
commitdiff
|
tree
2008-11-03
Bernd Jendr
i
ssek
Impl
e
ment
basic
t
ail calls
.
Try
t
o cons
e
rve resources
.
commit
|
commitdiff
|
tree
2008-11-03
Be
r
nd J
e
ndrissek
A
d
d more ar
i
thm
e
tic checks
.
commit
|
commitdiff
|
tree
2008-11-03
Be
r
nd Jendriss
e
k
A
dd support for the difference / nega
t
ion
o
pe
r
ator
.
commit
|
commitdiff
|
tree
2008-10-30
Bernd Jendrissek
Implement the
interpreted call stack e
x
plicitly
.
commit
|
commitdiff
|
tree
2008-10-23
Bernd Jendrissek
ev
a
l
_symbol():
New function
factorized out of builtin_eval(
)
.
commit
|
commitdiff
|
tree
2008-02-22
Bernd Jendrissek
Implement (string->lis
t
STRING)
.
No
t
quite the same
.
.
.
commit
|
commitdiff
|
tree
2008-02-22
Bernd Jen
d
rissek
P
a
rse strings prope
r
ly
fo
r
escape se
q
u
ences
.
commit
|
commitdiff
|
tree
2008-02-21
Bernd J
e
ndrissek
Implement (display ARG)
.
commit
|
commitdiff
|
tree
2008-02-21
Bernd Jendrissek
Mark n
e
w C
-
o
w
ned objects as protected
.
E
xplicitly
.
.
.
commit
|
commitdiff
|
tree
2008-02-18
Bernd Jendrissek
Re
-
mark C-owned objects on
l
y if the
a
re lisp objects
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jen
d
rissek
Let go of object
s
a
s so
o
n
as
they
have evalua
t
ed
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendrissek
Cons a dumm
y
non-empty list into
which to read forms
.
commit
|
commitdiff
|
tree
2008-02-17
Ber
n
d Jen
d
r
is
s
ek
Lea
v
e objects reachable
from C-own
e
d object
s
marked
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendri
s
sek
Recla
i
m all objects at program exit
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jendrissek
Fact
o
rize
g
arbage-c
o
llection
a
lgorith
m
into
s
eparate
.
.
.
commit
|
commitdiff
|
tree
2008-02-17
B
e
rnd
J
en
d
risse
k
M
ark the form cursor as
being C-own
e
d
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd
J
endriss
e
k
Iterate
o
ver
f
orms in the in
p
ut bu
f
fer w
i
th a cons
.
.
.
commit
|
commitdiff
|
tree
2008-02-17
B
e
rnd Je
n
drissek
Free the input buffer
.
commit
|
commitdiff
|
tree
2008-02-17
Bernd Jend
r
i
ssek
Mark
s
eparate GC bits for C-owned
a
nd li
s
p-owned objects
.
commit
|
commitdiff
|
tree
2008-02-16
Bern
d
Jendri
s
sek
Collec
t
g
a
rbage after each REPL iterat
i
on
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd J
e
ndrissek
Bind a "rest" arg
u
m
e
n
t
list only if it is in the forma
l
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd Jendrissek
Delete unused function
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd
Jendriss
e
k
Support variable argument lists
.
commit
|
commitdiff
|
tree
2008-02-10
Bernd Jend
r
issek
I
mprove test coverag
e
.
commit
|
commitdiff
|
tree
2008-02-10
Bern
d
J
e
ndrissek
Def
i
ne
c
o
mpiler an
d
compiler flags wit
h
$(CC) and
.
.
.
commit
|
commitdiff
|
tree
2008-02-10
Ber
n
d Jendrissek
builtin_new(): Create a bu
i
ltin, but don't
n
ame it
.
commit
|
commitdiff
|
tree
2008-02-08
Be
r
nd Jendrissek
Allocate a
n
ew sym
b
ol only if it is uniq
u
e
.
commit
|
commitdiff
|
tree
2008-02-07
Bernd
J
en
d
r
issek
Dele
t
e unused function
.
commit
|
commitdiff
|
tree
2008-02-07
Bernd Jendrissek
Store refe
r
ences to character sequences
as indexes
.
.
.
commit
|
commitdiff
|
tree
2008-02-07
Bernd Jendriss
e
k
Sto
r
e refe
r
ences t
o
pairs as ind
e
xes
i
nto
t
heir resource
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
B
e
rnd Jendrissek
resour
c
e
_ne
w
_i(): Return index into resource
p
oo
l
of
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
Bern
d
Jendris
s
ek
Allocate memory thr
o
ugh resource
p
ools instead of ad
.
.
.
commit
|
commitdiff
|
tree
2008-02-06
B
ernd Je
n
drissek
Collect variab
l
e bindi
n
gs in a
g
enera
l
"r
e
sourc
e
"
facil
i
ty
.
commit
|
commitdiff
|
tree
2008-02-06
Bern
d
J
e
ndrissek
Add test for recur
s
ion
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jendrissek
Suppo
r
t
input of im
p
r
o
per
l
ists
.
commit
|
commitdiff
|
tree
2008-02-06
Be
r
nd
Jendr
i
ssek
Impl
e
ment (define (NAME ARGS
.
.
.
) BODY)
.
commit
|
commitdiff
|
tree
2008-02-06
Bernd Jendriss
e
k
Implement
(primitive-eval ARG)
.
commit
|
commitdiff
|
tree
2008-02-02
Bernd Jendrissek
lisp_builtin(): Cons
t
ructor for a p
o
int
e
r to a buil
t
in
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendrissek
Reduce li
n
e
c
ount b
y
avoiding temporary variables
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd
J
endrisse
k
Prefer
t
o
use
l
isp values ins
t
ea
d
o
f
statically typed
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Je
n
dr
i
ssek
P
refer to
u
se lisp valu
e
s
instead
o
f
st
a
tical
l
y
t
yped
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendrissek
Prefer
t
o use lisp values
instead o
f
statically typ
e
d
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd J
e
nd
r
iss
e
k
Def
i
ne an
d
use con
s
tant_nil to represent the empt
y
.
.
.
commit
|
commitdiff
|
tree
2008-01-31
Ber
n
d
Je
n
drissek
Simplify
c
o
de with lisp_cdr()
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendrisse
k
Implement (list? AR
G
)
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd
J
endrissek
li
s
p
_
cdr(
)
: For analogy with lis
p
_car()
.
commit
|
commitdiff
|
tree
2008-01-31
Bernd Jendri
s
se
k
Eva
l
uate a
r
gumen
t
s to
u
s
er-defi
n
ed f
u
nctions
.
commit
|
commitdiff
|
tree
2008-01-28
Ber
n
d
Jend
r
issek
Simplify l
i
st construction expressions
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd
Jendrissek
li
s
p_pair(), lisp_opaq
u
e(): Furt
h
er simp
l
ify code
.
commit
|
commitdiff
|
tree
2008-01-28
Be
r
nd Jendrissek
lisp
_
cons(
)
:
Utility functio
n
to s
i
mplify
c
ode
.
commit
|
commitdiff
|
tree
2008-01-28
B
e
rnd Jendrissek
li
s
p_car(): U
t
ility function to si
m
plify code
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd J
e
ndri
s
s
ek
Complete i
m
plementat
i
on of if
.
commit
|
commitdiff
|
tree
2008-01-28
B
ernd Jendrissek
Don't
o
ve
r
-
c
o
u
nt the length
o
f str
i
ngs
.
commit
|
commitdiff
|
tree
2008-01-28
Bern
d
Jendrissek
Complete implementation of eq?
.
commit
|
commitdiff
|
tree
2008-01-28
Bern
d
Je
n
drissek
Ad
d
mo
r
e
t
ests
f
or eq?
.
commit
|
commitdiff
|
tree
2008-01-28
Be
r
n
d Jen
d
rissek
Ad
d
skeleton
i
mplemen
t
at
i
on of eq
?
.
commit
|
commitdiff
|
tree
2008-01-28
Ber
n
d Jendrissek
A
d
d
ske
l
eton im
p
lementatio
n
of if
.
commit
|
commitdiff
|
tree
2008-01-28
Bern
d
Jen
d
r
i
sse
k
I
mpl
e
me
n
t
qu
o
te as a built-in m
a
c
ro
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd Jendrissek
Apply us
e
r-defined functions
w
ith arg
u
ments
.
commit
|
commitdiff
|
tree
2008-01-28
Bernd
J
e
n
d
r
i
ssek
Al
l
ocat
e
envir
o
nments dynamicall
y
.
commit
|
commitdiff
|
tree
2008-01-28
B
ernd Jendrissek
T
est application of user-defined function with
arg
u
me
n
t
s
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jend
r
issek
Apply simple user-
d
efin
e
d
fun
c
t
i
ons
.
commit
|
commitdiff
|
tree
2008-01-27
B
ernd Jendrissek
Tes
t
ap
p
lication of a user-define
d
fu
n
ction
.
commit
|
commitdiff
|
tree
2008-01-27
B
e
rnd Je
n
driss
e
k
Make lambda expa
n
d
to a
user-define
d
function
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendri
s
sek
Pars
e
empty lists properl
y
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d Jendrissek
Ensu
r
e that empt
y
input doesn't
e
valua
t
e
.
commit
|
commitdiff
|
tree
2008-01-27
B
ernd Je
n
dri
s
sek
Reve
r
t for
g
otten mistrial
.
commit
|
commitdiff
|
tree
2008-01-27
B
e
rnd J
e
ndrisse
k
s/
p
a
r
s
e_
f
o
rm/pa
r
se_
f
orms/g
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Support macros in the evaluator
.
Add skel
e
ton b
u
i
lt
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd
Jendrissek
Add tests for la
m
bda
.
commit
|
commitdiff
|
tree
2008-01-27
Be
r
nd Jendrissek
Con
t
inue
d
e
s
p
ite abnor
m
al e
x
i
t
s
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d Jendr
i
ssek
E
v
aluate C
A
R of
list separately to f
i
nd
o
ut if it's
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d
Jendri
s
sek
Rena
m
e variab
l
e
.
Pret
t
y-print built-
i
n
functions
a
s
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d Jendrissek
pair_ne
w
(): Initialize CDR
t
o '()
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jen
d
riss
e
k
Pa
r
se a w
h
ol
e
wo
r
d in one
go with pars
e
_word()
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
ch
a
rseq_new(): Initialize the returned
object
.
commit
|
commitdiff
|
tree
2008-01-27
B
ernd Jendriss
e
k
Define
#t and #f
.
commit
|
commitdiff
|
tree
2008-01-27
B
ernd Jendrissek
M
ark functions by
a
n
opaque uniq
u
e CAR
.
commit
|
commitdiff
|
tree
2008-01-27
Ber
n
d Jendriss
e
k
Impleme
n
t (car)
and
(cdr)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
Jendrissek
Support impr
o
per
lists
.
Implement
(
cons)
.
commit
|
commitdiff
|
tree
2008-01-27
B
e
rnd Jendrissek
Pass a more
strong
l
y typed list "re
s
t" argument to
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd
J
e
n
dris
s
ek
Pass t
h
e env
i
ronment to (eval) so it can suppor
t
(let)
.
commit
|
commitdiff
|
tree
2008-01-27
B
ernd Jendrisse
k
Bind values to symbols du
r
ing evalu
a
tion
.
Call built
i
n
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
B
e
rnd Jendrissek
Un
i
fy st
r
i
ng and symbol representation
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendriss
e
k
Evalua
t
e s-expressions
.
Only support
s
s
t
rings and
.
.
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
NUL-te
r
minate strings and
s
ymbols for convenience
.
commit
|
commitdiff
|
tree
2008-01-27
B
e
r
n
d J
e
nd
r
i
s
sek
Delete string_new(
)
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendrissek
Parse strin
g
s in s-expression
s
.
commit
|
commitdiff
|
tree
2008-01-27
Bernd Jendr
i
ssek
Parse symbols in s-e
x
pression
s
.
commit
|
commitdiff
|
tree
2008-01-27
Bern
d
J
e
nd
r
i
s
sek
A rudimentary par
s
er of
s
-expre
s
s
i
ons
.
commit
|
commitdiff
|
tree