summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-11-04 20:42:29 +0000
committerPaul Buetow <paul@buetow.org>2008-11-04 20:42:29 +0000
commit48cf82bfc6cd65cc95f7658582fc532602a85ac0 (patch)
tree97642dad8f06c1d2a666b6903e4275fb07242785
parent71f02b4a701b6fb5f54950ef9925672b8c608211 (diff)
few more make fules.
-rw-r--r--Makefile8
-rw-r--r--Session.vim357
-rw-r--r--docs/help.txt2
-rw-r--r--docs/version.txt2
-rwxr-xr-xfypebin457178 -> 448574 bytes
-rw-r--r--src/build.h2
-rw-r--r--src/defines.h2
-rw-r--r--tmp/test.fy30
-rw-r--r--tmp/test.out405
9 files changed, 369 insertions, 439 deletions
diff --git a/Makefile b/Makefile
index e9501d3..071ddac 100644
--- a/Makefile
+++ b/Makefile
@@ -66,9 +66,12 @@ stats:
tail -n 1 | sed s/total//`"'
stats-tofile:
make stats | tee ./docs/stats.txt
-test: all
+testrun:
cat ./tmp/test.fy > ./tmp/test.out
./$(BIN) -V ./tmp/test.fy | tee -a ./tmp/test.out
+tr: testrun
+test: all testrun
+t: test
run:
./$(BIN) ./tmp/test.fy
core:
@@ -109,4 +112,5 @@ deinstall:
uninstall: deinstall
pod:
@cd ./docs/pod; make clean all
-
+sess:
+ vim -S Session.vim
diff --git a/Session.vim b/Session.vim
index 88a7555..1358ee6 100644
--- a/Session.vim
+++ b/Session.vim
@@ -41,6 +41,7 @@ set tabstop=4
set tags=./tags,./TAGS,tags,TAGS,./tags,./../tags,./../../tags,./*/tags
set title
set visualbell
+set window=46
let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0
let v:this_session=expand("<sfile>:p")
silent only
@@ -49,15 +50,241 @@ if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
let s:wipebuf = bufnr('%')
endif
set shortmess=aoO
-badd +1 src/core/interpret.h
+badd +51 src/core/interpret.h
+badd +26 tmp/test.fy
+badd +81 src/defines.h
+badd +0 TODO
args src/core/interpret.h
-edit src/core/interpret.h
+edit TODO
set splitbelow splitright
+wincmd _ | wincmd |
+vsplit
+1wincmd h
+wincmd _ | wincmd |
+split
+1wincmd k
+wincmd w
+wincmd w
set nosplitbelow
set nosplitright
wincmd t
set winheight=1 winwidth=1
+exe '1resize ' . ((&lines * 22 + 23) / 47)
+exe 'vert 1resize ' . ((&columns * 71 + 71) / 143)
+exe '2resize ' . ((&lines * 21 + 23) / 47)
+exe 'vert 2resize ' . ((&columns * 71 + 71) / 143)
+exe 'vert 3resize ' . ((&columns * 71 + 71) / 143)
+argglobal
+setlocal keymap=
+setlocal noarabic
+setlocal autoindent
+setlocal balloonexpr=
+setlocal nobinary
+setlocal bufhidden=
+setlocal buflisted
+setlocal buftype=
+setlocal cindent
+setlocal cinkeys=0{,0},0),:,0#,!^F,o,O,e
+setlocal cinoptions=
+setlocal cinwords=if,else,while,do,for,switch
+setlocal comments=s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-
+setlocal commentstring=/*%s*/
+setlocal complete=.,w,b,u,t,i
+setlocal completefunc=
+setlocal nocopyindent
+setlocal nocursorcolumn
+set cursorline
+setlocal cursorline
+setlocal define=
+setlocal dictionary=
+setlocal nodiff
+setlocal equalprg=
+setlocal errorformat=
+setlocal noexpandtab
+if &filetype != ''
+setlocal filetype=
+endif
+setlocal foldcolumn=0
+setlocal foldenable
+setlocal foldexpr=0
+setlocal foldignore=#
+setlocal foldlevel=0
+setlocal foldmarker={{{,}}}
+set foldmethod=indent
+setlocal foldmethod=indent
+setlocal foldminlines=1
+setlocal foldnestmax=20
+setlocal foldtext=foldtext()
+setlocal formatexpr=
+setlocal formatoptions=tcq
+setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
+setlocal grepprg=
+setlocal iminsert=2
+setlocal imsearch=2
+setlocal include=
+setlocal includeexpr=
+setlocal indentexpr=
+setlocal indentkeys=0{,0},:,0#,!^F,o,O,e
+setlocal noinfercase
+setlocal iskeyword=@,48-57,_,192-255
+setlocal keywordprg=
+setlocal nolinebreak
+setlocal nolisp
+setlocal nolist
+setlocal makeprg=
+setlocal matchpairs=(:),{:},[:]
+setlocal modeline
+setlocal modifiable
+setlocal nrformats=octal,hex
+setlocal nonumber
+set numberwidth=1
+setlocal numberwidth=1
+setlocal omnifunc=
+setlocal path=
+setlocal nopreserveindent
+setlocal nopreviewwindow
+setlocal quoteescape=\\
+setlocal noreadonly
+setlocal norightleft
+setlocal rightleftcmd=search
+setlocal noscrollbind
+setlocal shiftwidth=3
+setlocal noshortname
+setlocal nosmartindent
+setlocal softtabstop=0
+setlocal nospell
+setlocal spellcapcheck=[.?!]\\_[\\])'\"\ \ ]\\+
+setlocal spellfile=
+setlocal spelllang=en
+setlocal statusline=
+setlocal suffixesadd=
+setlocal swapfile
+setlocal synmaxcol=3000
+if &syntax != ''
+setlocal syntax=
+endif
+setlocal tabstop=4
+setlocal tags=
+setlocal textwidth=0
+setlocal thesaurus=
+setlocal nowinfixheight
+setlocal nowinfixwidth
+setlocal wrap
+setlocal wrapmargin=0
+let s:l = 2 - ((1 * winheight(0) + 11) / 22)
+if s:l < 1 | let s:l = 1 | endif
+exe s:l
+normal! zt
+2
+normal! 0
+wincmd w
argglobal
+edit tmp/test.fy
+setlocal keymap=
+setlocal noarabic
+setlocal autoindent
+setlocal balloonexpr=
+setlocal nobinary
+setlocal bufhidden=
+setlocal buflisted
+setlocal buftype=
+setlocal cindent
+setlocal cinkeys=0{,0},0),:,0#,!^F,o,O,e
+setlocal cinoptions=
+setlocal cinwords=if,else,while,do,for,switch
+setlocal comments=s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-
+setlocal commentstring=/*%s*/
+setlocal complete=.,w,b,u,t,i
+setlocal completefunc=
+setlocal nocopyindent
+setlocal nocursorcolumn
+set cursorline
+setlocal cursorline
+setlocal define=
+setlocal dictionary=
+setlocal nodiff
+setlocal equalprg=
+setlocal errorformat=
+setlocal noexpandtab
+if &filetype != 'conf'
+setlocal filetype=conf
+endif
+setlocal foldcolumn=0
+setlocal foldenable
+setlocal foldexpr=0
+setlocal foldignore=#
+setlocal foldlevel=0
+setlocal foldmarker={{{,}}}
+set foldmethod=indent
+setlocal foldmethod=indent
+setlocal foldminlines=1
+setlocal foldnestmax=20
+setlocal foldtext=foldtext()
+setlocal formatexpr=
+setlocal formatoptions=tcq
+setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
+setlocal grepprg=
+setlocal iminsert=2
+setlocal imsearch=2
+setlocal include=
+setlocal includeexpr=
+setlocal indentexpr=
+setlocal indentkeys=0{,0},:,0#,!^F,o,O,e
+setlocal noinfercase
+setlocal iskeyword=@,48-57,_,192-255
+setlocal keywordprg=
+setlocal nolinebreak
+setlocal nolisp
+setlocal nolist
+setlocal makeprg=
+setlocal matchpairs=(:),{:},[:]
+setlocal modeline
+setlocal modifiable
+setlocal nrformats=octal,hex
+setlocal nonumber
+set numberwidth=1
+setlocal numberwidth=1
+setlocal omnifunc=
+setlocal path=
+setlocal nopreserveindent
+setlocal nopreviewwindow
+setlocal quoteescape=\\
+setlocal noreadonly
+setlocal norightleft
+setlocal rightleftcmd=search
+setlocal noscrollbind
+setlocal shiftwidth=3
+setlocal noshortname
+setlocal nosmartindent
+setlocal softtabstop=0
+setlocal nospell
+setlocal spellcapcheck=[.?!]\\_[\\])'\"\ \ ]\\+
+setlocal spellfile=
+setlocal spelllang=en
+setlocal statusline=
+setlocal suffixesadd=
+setlocal swapfile
+setlocal synmaxcol=3000
+if &syntax != 'conf'
+setlocal syntax=conf
+endif
+setlocal tabstop=4
+setlocal tags=
+setlocal textwidth=0
+setlocal thesaurus=
+setlocal nowinfixheight
+setlocal nowinfixwidth
+setlocal wrap
+setlocal wrapmargin=0
+let s:l = 26 - ((12 * winheight(0) + 10) / 21)
+if s:l < 1 | let s:l = 1 | endif
+exe s:l
+normal! zt
+26
+normal! 0
+wincmd w
+argglobal
+edit src/core/interpret.h
setlocal keymap=
setlocal noarabic
setlocal autoindent
@@ -88,7 +315,7 @@ if &filetype != 'cpp'
setlocal filetype=cpp
endif
setlocal foldcolumn=0
-setlocal foldenable
+setlocal nofoldenable
setlocal foldexpr=0
setlocal foldignore=#
setlocal foldlevel=0
@@ -154,12 +381,130 @@ setlocal nowinfixheight
setlocal nowinfixwidth
setlocal wrap
setlocal wrapmargin=0
-let s:l = 1 - ((0 * winheight(0) + 17) / 35)
+let s:l = 69 - ((36 * winheight(0) + 22) / 44)
if s:l < 1 | let s:l = 1 | endif
exe s:l
normal! zt
-1
-normal! 0
+69
+normal! 012l
+wincmd w
+3wincmd w
+exe '1resize ' . ((&lines * 22 + 23) / 47)
+exe 'vert 1resize ' . ((&columns * 71 + 71) / 143)
+exe '2resize ' . ((&lines * 21 + 23) / 47)
+exe 'vert 2resize ' . ((&columns * 71 + 71) / 143)
+exe 'vert 3resize ' . ((&columns * 71 + 71) / 143)
+tabnew
+set splitbelow splitright
+set nosplitbelow
+set nosplitright
+wincmd t
+set winheight=1 winwidth=1
+argglobal
+edit /usr/local/share/vim/vim71/doc/windows.txt
+setlocal keymap=
+setlocal noarabic
+setlocal autoindent
+setlocal balloonexpr=
+setlocal nobinary
+setlocal bufhidden=
+setlocal nobuflisted
+setlocal buftype=help
+setlocal cindent
+setlocal cinkeys=0{,0},0),:,0#,!^F,o,O,e
+setlocal cinoptions=
+setlocal cinwords=if,else,while,do,for,switch
+setlocal comments=s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-
+setlocal commentstring=/*%s*/
+setlocal complete=.,w,b,u,t,i
+setlocal completefunc=
+setlocal nocopyindent
+setlocal nocursorcolumn
+set cursorline
+setlocal cursorline
+setlocal define=
+setlocal dictionary=
+setlocal nodiff
+setlocal equalprg=
+setlocal errorformat=
+setlocal noexpandtab
+if &filetype != 'help'
+setlocal filetype=help
+endif
+setlocal foldcolumn=0
+setlocal nofoldenable
+setlocal foldexpr=0
+setlocal foldignore=#
+setlocal foldlevel=0
+setlocal foldmarker={{{,}}}
+set foldmethod=indent
+setlocal foldmethod=indent
+setlocal foldminlines=1
+setlocal foldnestmax=20
+setlocal foldtext=foldtext()
+setlocal formatexpr=
+setlocal formatoptions=tcq
+setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
+setlocal grepprg=
+setlocal iminsert=2
+setlocal imsearch=2
+setlocal include=
+setlocal includeexpr=
+setlocal indentexpr=
+setlocal indentkeys=0{,0},:,0#,!^F,o,O,e
+setlocal noinfercase
+setlocal iskeyword=!-~,^*,^|,^\",192-255
+setlocal keywordprg=
+setlocal nolinebreak
+setlocal nolisp
+setlocal nolist
+setlocal makeprg=
+setlocal matchpairs=(:),{:},[:]
+setlocal modeline
+setlocal nomodifiable
+setlocal nrformats=octal,hex
+setlocal nonumber
+set numberwidth=1
+setlocal numberwidth=1
+setlocal omnifunc=
+setlocal path=
+setlocal nopreserveindent
+setlocal nopreviewwindow
+setlocal quoteescape=\\
+setlocal readonly
+setlocal norightleft
+setlocal rightleftcmd=search
+setlocal noscrollbind
+setlocal shiftwidth=3
+setlocal noshortname
+setlocal nosmartindent
+setlocal softtabstop=0
+setlocal nospell
+setlocal spellcapcheck=[.?!]\\_[\\])'\"\ \ ]\\+
+setlocal spellfile=
+setlocal spelllang=en
+setlocal statusline=
+setlocal suffixesadd=
+setlocal swapfile
+setlocal synmaxcol=3000
+if &syntax != 'help'
+setlocal syntax=help
+endif
+setlocal tabstop=8
+setlocal tags=
+setlocal textwidth=78
+setlocal thesaurus=
+setlocal nowinfixheight
+setlocal nowinfixwidth
+setlocal wrap
+setlocal wrapmargin=0
+let s:l = 38 - ((6 * winheight(0) + 22) / 45)
+if s:l < 1 | let s:l = 1 | endif
+exe s:l
+normal! zt
+38
+normal! 064l
+3wincmd w
tabnext 1
if exists('s:wipebuf')
silent exe 'bwipe ' . s:wipebuf
diff --git a/docs/help.txt b/docs/help.txt
index 3d0edfd..687d983 100644
--- a/docs/help.txt
+++ b/docs/help.txt
@@ -1,4 +1,4 @@
-Fype v0.1-devel Build 9320
+Fype v0.1-devel Build 9323
(c) Paul C. Buetow (2005 - 2008) <fype@dev.buetow.org>
-e Executes given code string (see synopses)
-h Prints this help
diff --git a/docs/version.txt b/docs/version.txt
index fe60012..e24a456 100644
--- a/docs/version.txt
+++ b/docs/version.txt
@@ -1 +1 @@
-Fype v0.1-devel Build 9320
+Fype v0.1-devel Build 9323
diff --git a/fype b/fype
index bb28a31..0ac468b 100755
--- a/fype
+++ b/fype
Binary files differ
diff --git a/src/build.h b/src/build.h
index 225bf2a..e185370 100644
--- a/src/build.h
+++ b/src/build.h
@@ -35,7 +35,7 @@
#ifndef BUILD_H
#define BUILD_H
-#define BUILDNR 9321
+#define BUILDNR 9325
#define OS_FREEBSD
#endif
diff --git a/src/defines.h b/src/defines.h
index 6c2fb59..603ad31 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -78,7 +78,7 @@
//#define DEBUG_GC
//#define DEBUG_TOKEN_REFCOUNT
//#define DEBUG_FUNCTION_PROCESS
-#define DEBUG_TRACK
+//#define DEBUG_TRACK
//#define DEBUG_BLOCK_GET
//#define DEBUG_EXPRESSION_GET
diff --git a/tmp/test.fy b/tmp/test.fy
index 3ffb105..609f0c2 100644
--- a/tmp/test.fy
+++ b/tmp/test.fy
@@ -1,32 +1,8 @@
#*
- * Examples of how to use synonyms
+ * Examples of how to use references
*#
-# Create a variable foo, and bar is a synonym for foo
+# Create a variable foo, and bar is a reference to foo
my foo = "foo";
-my bar = \foo;
-
-# Reset the value of foo
-foo = "bar";
-
-# The synonym variable should now also set to "bar"
-assert "bar" == say bar;
-
-# Create a new procedure baz
-proc baz {
- say "I am baz";
-}
-
-# Make a synonym baz, and undefine baz
-my bay = \baz;
-undef baz;
-
-# bay still has a reference of the original procedure baz
-bay; # this prints aut "I am baz"
-
-assert 0 == defined baz;
-assert 1 == defined bay;
-
-# This removes the procedure from memory
-undef bay;
+my bar = &foo;
diff --git a/tmp/test.out b/tmp/test.out
index c4bed13..eae02b0 100644
--- a/tmp/test.out
+++ b/tmp/test.out
@@ -1,34 +1,10 @@
#*
- * Examples of how to use synonyms
+ * Examples of how to use references
*#
-# Create a variable foo, and bar is a synonym for foo
+# Create a variable foo, and bar is a reference to foo
my foo = "foo";
-my bar = \foo;
-
-# Reset the value of foo
-foo = "bar";
-
-# The synonym variable should now also set to "bar"
-assert "bar" == say bar;
-
-# Create a new procedure baz
-proc baz {
- say "I am baz";
-}
-
-# Make a synonym baz, and undefine baz
-my bay = \baz;
-undef baz;
-
-# bay still has a reference of the original procedure baz
-bay; # this prints aut "I am baz"
-
-assert 0 == defined baz;
-assert 1 == defined bay;
-
-# This removes the procedure from memory
-undef bay;
+my bar = &foo;
Token (id=00000, line=00006, pos=0003, type=TT_MY, val=my, ival=0, dval=0.000000, refs=1)
Token (id=00001, line=00006, pos=0007, type=TT_IDENT, val=foo, ival=0, dval=0.000000, refs=1)
@@ -38,378 +14,7 @@ Token (id=00004, line=00006, pos=0012, type=TT_SEMICOLON, val=;, ival=0, dval=0.
Token (id=00005, line=00007, pos=0003, type=TT_MY, val=my, ival=0, dval=0.000000, refs=1)
Token (id=00006, line=00007, pos=0007, type=TT_IDENT, val=bar, ival=0, dval=0.000000, refs=1)
Token (id=00007, line=00007, pos=0009, type=TT_ASSIGN, val==, ival=0, dval=0.000000, refs=1)
-Token (id=00008, line=00007, pos=0011, type=TT_VID, val=\, ival=0, dval=0.000000, refs=1)
+Token (id=00008, line=00007, pos=0011, type=TT_AAND, val=&, ival=0, dval=0.000000, refs=1)
Token (id=00009, line=00007, pos=0014, type=TT_IDENT, val=foo, ival=0, dval=0.000000, refs=1)
Token (id=00010, line=00007, pos=0015, type=TT_SEMICOLON, val=;, ival=0, dval=0.000000, refs=1)
-Token (id=00011, line=00010, pos=0004, type=TT_IDENT, val=foo, ival=0, dval=0.000000, refs=1)
-Token (id=00012, line=00010, pos=0006, type=TT_ASSIGN, val==, ival=0, dval=0.000000, refs=1)
-Token (id=00013, line=00010, pos=0007, type=TT_STRING, val=bar, ival=0, dval=0.000000, refs=1)
-Token (id=00014, line=00010, pos=0009, type=TT_SEMICOLON, val=;, ival=0, dval=0.000000, refs=1)
-Token (id=00015, line=00013, pos=0007, type=TT_IDENT, val=assert, ival=0, dval=0.000000, refs=1)
-Token (id=00016, line=00013, pos=0008, type=TT_STRING, val=bar, ival=0, dval=0.000000, refs=1)
-Token (id=00017, line=00013, pos=0011, type=TT_ASSIGN, val==, ival=0, dval=0.000000, refs=1)
-Token (id=00018, line=00013, pos=0012, type=TT_ASSIGN, val==, ival=0, dval=0.000000, refs=1)
-Token (id=00019, line=00013, pos=0016, type=TT_IDENT, val=say, ival=0, dval=0.000000, refs=1)
-Token (id=00020, line=00013, pos=0020, type=TT_IDENT, val=bar, ival=0, dval=0.000000, refs=1)
-Token (id=00021, line=00013, pos=0021, type=TT_SEMICOLON, val=;, ival=0, dval=0.000000, refs=1)
-Token (id=00022, line=00016, pos=0005, type=TT_PROC, val=proc, ival=0, dval=0.000000, refs=1)
-Token (id=00023, line=00016, pos=0009, type=TT_IDENT, val=baz, ival=0, dval=0.000000, refs=1)
-Token (id=00024, line=00016, pos=0011, type=TT_PARANT_CL, val={, ival=0, dval=0.000000, refs=1)
-Token (id=00025, line=00017, pos=0005, type=TT_IDENT, val=say, ival=0, dval=0.000000, refs=1)
-Token (id=00026, line=00017, pos=0006, type=TT_STRING, val=I am baz, ival=0, dval=0.000000, refs=1)
-Token (id=00027, line=00017, pos=0008, type=TT_SEMICOLON, val=;, ival=0, dval=0.000000, refs=1)
-Token (id=00028, line=00018, pos=0002, type=TT_PARANT_CR, val=}, ival=0, dval=0.000000, refs=1)
-Token (id=00029, line=00021, pos=0003, type=TT_MY, val=my, ival=0, dval=0.000000, refs=1)
-Token (id=00030, line=00021, pos=0007, type=TT_IDENT, val=bay, ival=0, dval=0.000000, refs=1)
-Token (id=00031, line=00021, pos=0009, type=TT_ASSIGN, val==, ival=0, dval=0.000000, refs=1)
-Token (id=00032, line=00021, pos=0011, type=TT_VID, val=\, ival=0, dval=0.000000, refs=1)
-Token (id=00033, line=00021, pos=0014, type=TT_IDENT, val=baz, ival=0, dval=0.000000, refs=1)
-Token (id=00034, line=00021, pos=0015, type=TT_SEMICOLON, val=;, ival=0, dval=0.000000, refs=1)
-Token (id=00035, line=00022, pos=0006, type=TT_UNDEF, val=undef, ival=0, dval=0.000000, refs=1)
-Token (id=00036, line=00022, pos=0010, type=TT_IDENT, val=baz, ival=0, dval=0.000000, refs=1)
-Token (id=00037, line=00022, pos=0011, type=TT_SEMICOLON, val=;, ival=0, dval=0.000000, refs=1)
-Token (id=00038, line=00025, pos=0004, type=TT_IDENT, val=bay, ival=0, dval=0.000000, refs=1)
-Token (id=00039, line=00025, pos=0005, type=TT_SEMICOLON, val=;, ival=0, dval=0.000000, refs=1)
-Token (id=00040, line=00027, pos=0007, type=TT_IDENT, val=assert, ival=0, dval=0.000000, refs=1)
-Token (id=00041, line=00027, pos=0009, type=TT_INTEGER, val=0, ival=0, dval=0.000000, refs=1)
-Token (id=00042, line=00027, pos=0011, type=TT_ASSIGN, val==, ival=0, dval=0.000000, refs=1)
-Token (id=00043, line=00027, pos=0012, type=TT_ASSIGN, val==, ival=0, dval=0.000000, refs=1)
-Token (id=00044, line=00027, pos=0020, type=TT_DEFINED, val=defined, ival=0, dval=0.000000, refs=1)
-Token (id=00045, line=00027, pos=0024, type=TT_IDENT, val=baz, ival=0, dval=0.000000, refs=1)
-Token (id=00046, line=00027, pos=0025, type=TT_SEMICOLON, val=;, ival=0, dval=0.000000, refs=1)
-Token (id=00047, line=00028, pos=0007, type=TT_IDENT, val=assert, ival=0, dval=0.000000, refs=1)
-Token (id=00048, line=00028, pos=0009, type=TT_INTEGER, val=1, ival=1, dval=0.000000, refs=1)
-Token (id=00049, line=00028, pos=0011, type=TT_ASSIGN, val==, ival=0, dval=0.000000, refs=1)
-Token (id=00050, line=00028, pos=0012, type=TT_ASSIGN, val==, ival=0, dval=0.000000, refs=1)
-Token (id=00051, line=00028, pos=0020, type=TT_DEFINED, val=defined, ival=0, dval=0.000000, refs=1)
-Token (id=00052, line=00028, pos=0024, type=TT_IDENT, val=bay, ival=0, dval=0.000000, refs=1)
-Token (id=00053, line=00028, pos=0025, type=TT_SEMICOLON, val=;, ival=0, dval=0.000000, refs=1)
-Token (id=00054, line=00031, pos=0006, type=TT_UNDEF, val=undef, ival=0, dval=0.000000, refs=1)
-Token (id=00055, line=00031, pos=0010, type=TT_IDENT, val=bay, ival=0, dval=0.000000, refs=1)
-Token (id=00056, line=00031, pos=0011, type=TT_SEMICOLON, val=;, ival=0, dval=0.000000, refs=1)
-DEBUG(Track: ./src/core/interpret.c:_program:165)
-DEBUG(Token: my)
-DEBUG(Track: ./src/core/interpret.c:_statement:430)
-DEBUG(Token: my)
-DEBUG(Track: ./src/core/interpret.c:_proc_decl:362)
-DEBUG(Token: my)
-DEBUG(Track: ./src/core/interpret.c:_func_decl:396)
-DEBUG(Token: my)
-DEBUG(Track: ./src/core/interpret.c:_var_decl:175)
-DEBUG(Token: my)
-DEBUG(Track: ./src/core/interpret.c:_var_assign:210)
-DEBUG(Token: foo)
-DEBUG(Track: ./src/core/interpret.c:_compare:624)
-DEBUG(Token: foo)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: foo)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: foo)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: foo)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: foo)
-DEBUG(Track: ./src/core/interpret.c:_var_list:270)
-DEBUG(Token: ;)
-DEBUG(Track: ./src/core/interpret.c:_statement:430)
-DEBUG(Token: my)
-DEBUG(Track: ./src/core/interpret.c:_proc_decl:362)
-DEBUG(Token: my)
-DEBUG(Track: ./src/core/interpret.c:_func_decl:396)
-DEBUG(Token: my)
-DEBUG(Track: ./src/core/interpret.c:_var_decl:175)
-DEBUG(Token: my)
-DEBUG(Track: ./src/core/interpret.c:_var_assign:210)
-DEBUG(Token: bar)
-DEBUG(Track: ./src/core/interpret.c:_var_list:270)
-DEBUG(Token: ;)
-DEBUG(Track: ./src/core/interpret.c:_statement:430)
-DEBUG(Token: foo)
-DEBUG(Track: ./src/core/interpret.c:_proc_decl:362)
-DEBUG(Token: foo)
-DEBUG(Track: ./src/core/interpret.c:_func_decl:396)
-DEBUG(Token: foo)
-DEBUG(Track: ./src/core/interpret.c:_var_decl:175)
-DEBUG(Token: foo)
-DEBUG(Track: ./src/core/interpret.c:_control:489)
-DEBUG(Token: foo)
-DEBUG(Track: ./src/core/interpret.c:_expression:465)
-DEBUG(Token: foo)
-DEBUG(Track: ./src/core/interpret.c:_compare:624)
-DEBUG(Token: foo)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: foo)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: foo)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: foo)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: foo)
-DEBUG(Track: ./src/core/interpret.c:_compare:624)
-DEBUG(Token: bar)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: bar)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: bar)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: bar)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: bar)
-DEBUG(Track: ./src/core/interpret.c:_statement:430)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_proc_decl:362)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_func_decl:396)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_var_decl:175)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_control:489)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_expression:465)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_compare:624)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_compare:624)
-DEBUG(Token: bar)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: bar)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: bar)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: bar)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: bar)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: say)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: say)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: say)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: say)
-DEBUG(Track: ./src/core/interpret.c:_compare:624)
-DEBUG(Token: bar)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: bar)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: bar)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: bar)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: bar)
-bar
-DEBUG(Track: ./src/core/interpret.c:_statement:430)
-DEBUG(Token: proc)
-DEBUG(Track: ./src/core/interpret.c:_proc_decl:362)
-DEBUG(Token: proc)
-DEBUG(Track: ./src/core/interpret.c:_statement:430)
-DEBUG(Token: my)
-DEBUG(Track: ./src/core/interpret.c:_proc_decl:362)
-DEBUG(Token: my)
-DEBUG(Track: ./src/core/interpret.c:_func_decl:396)
-DEBUG(Token: my)
-DEBUG(Track: ./src/core/interpret.c:_var_decl:175)
-DEBUG(Token: my)
-DEBUG(Track: ./src/core/interpret.c:_var_assign:210)
-DEBUG(Token: bay)
-DEBUG(Track: ./src/core/interpret.c:_var_list:270)
-DEBUG(Token: ;)
-DEBUG(Track: ./src/core/interpret.c:_statement:430)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_proc_decl:362)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_func_decl:396)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_var_decl:175)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_control:489)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_expression:465)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_compare:624)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_statement:430)
-DEBUG(Token: bay)
-DEBUG(Track: ./src/core/interpret.c:_proc_decl:362)
-DEBUG(Token: bay)
-DEBUG(Track: ./src/core/interpret.c:_func_decl:396)
-DEBUG(Token: bay)
-DEBUG(Track: ./src/core/interpret.c:_var_decl:175)
-DEBUG(Token: bay)
-DEBUG(Track: ./src/core/interpret.c:_control:489)
-DEBUG(Token: bay)
-DEBUG(Track: ./src/core/interpret.c:_expression:465)
-DEBUG(Token: bay)
-DEBUG(Track: ./src/core/interpret.c:_compare:624)
-DEBUG(Token: bay)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: bay)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: bay)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: bay)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: bay)
-DEBUG(Track: ./src/core/interpret.c:_compare:624)
-DEBUG(Token: ;)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: ;)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: ;)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: ;)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: ;)
-DEBUG(Track: ./src/core/interpret.c:_program:165)
-DEBUG(Token: say)
-DEBUG(Track: ./src/core/interpret.c:_statement:430)
-DEBUG(Token: say)
-DEBUG(Track: ./src/core/interpret.c:_proc_decl:362)
-DEBUG(Token: say)
-DEBUG(Track: ./src/core/interpret.c:_func_decl:396)
-DEBUG(Token: say)
-DEBUG(Track: ./src/core/interpret.c:_var_decl:175)
-DEBUG(Token: say)
-DEBUG(Track: ./src/core/interpret.c:_control:489)
-DEBUG(Token: say)
-DEBUG(Track: ./src/core/interpret.c:_expression:465)
-DEBUG(Token: say)
-DEBUG(Track: ./src/core/interpret.c:_compare:624)
-DEBUG(Token: say)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: say)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: say)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: say)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: say)
-DEBUG(Track: ./src/core/interpret.c:_compare:624)
-DEBUG(Token: I am baz)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: I am baz)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: I am baz)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: I am baz)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: I am baz)
-I am baz
-DEBUG(Track: ./src/core/interpret.c:_statement:430)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_proc_decl:362)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_func_decl:396)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_var_decl:175)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_control:489)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_expression:465)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_compare:624)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_compare:624)
-DEBUG(Token: 0)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: 0)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: 0)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: 0)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: 0)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: defined)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: defined)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: defined)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: defined)
-DEBUG(Track: ./src/core/interpret.c:_statement:430)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_proc_decl:362)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_func_decl:396)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_var_decl:175)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_control:489)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_expression:465)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_compare:624)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: assert)
-DEBUG(Track: ./src/core/interpret.c:_compare:624)
-DEBUG(Token: 1)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: 1)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: 1)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: 1)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: 1)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: defined)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: defined)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: defined)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: defined)
-DEBUG(Track: ./src/core/interpret.c:_statement:430)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_proc_decl:362)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_func_decl:396)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_var_decl:175)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_control:489)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_expression:465)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_compare:624)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_sum:675)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_product:726)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_product2:764)
-DEBUG(Token: undef)
-DEBUG(Track: ./src/core/interpret.c:_term:798)
-DEBUG(Token: undef)
+nyi: Interpret error in ./tmp/test.fy line 7 pos 14 near 'foo' (Fype @ ./src/core/interpret.c line 960)