Redid lex process
This commit is contained in:
parent
c52391da07
commit
640dbb183e
3 changed files with 123 additions and 34 deletions
38
tags
Normal file
38
tags
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
|
||||
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
|
||||
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
|
||||
!_TAG_PROGRAM_NAME Exuberant Ctags //
|
||||
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
|
||||
!_TAG_PROGRAM_VERSION Development //
|
||||
CallFunction func_table.go /^func CallFunction(target *Function, args *Token) *Token {$/;" f
|
||||
FmtToken debug.go /^func FmtToken(arg *Token) string {$/;" f
|
||||
FuncTable func_table.go /^type FuncTable map[string]*Function$/;" t
|
||||
Function func_table.go /^type Function struct {$/;" t
|
||||
GetFunction func_table.go /^func GetFunction(arg string) *Function {$/;" f
|
||||
GetTagAsStr debug.go /^func GetTagAsStr(tag token_t) string {$/;" f
|
||||
GetVar var_table.go /^func GetVar(arg string, library []VarTable) *Token {$/;" f
|
||||
GlobalFuncTable func_table.go /^ GlobalFuncTable *FuncTable$/;" v
|
||||
GlobalVarTable var_table.go /^ GlobalVarTable *VarTable$/;" v
|
||||
LIST token.go /^ LIST token_t = iota$/;" c
|
||||
Lex token.go /^func Lex(input string) *Token {$/;" f
|
||||
NUMBER token.go /^ NUMBER token_t = iota$/;" c
|
||||
Operation func_table.go /^type Operation func(*Token) *Token$/;" t
|
||||
ParseFunction func_table.go /^func ParseFunction(target *Function, args *Token) bool {$/;" f
|
||||
Pop stack.go /^func (s *TokenStack) Pop() *Token {$/;" f
|
||||
PrintSExpression debug.go /^func PrintSExpression(arg *Token) {$/;" f
|
||||
Push stack.go /^func (s *TokenStack) Push(v *Token) {$/;" f
|
||||
STRING token.go /^ STRING token_t = iota$/;" c
|
||||
SYMBOL token.go /^ SYMBOL token_t = iota$/;" c
|
||||
Token token.go /^type Token struct {$/;" t
|
||||
TokenStack stack.go /^type TokenStack struct {$/;" t
|
||||
VarTable var_table.go /^type VarTable map[string]*Token$/;" t
|
||||
main cmd/print_ast.go /^func main() {$/;" f
|
||||
main cmd/print_ast.go /^package main$/;" p
|
||||
shs debug.go /^package shs$/;" p
|
||||
shs func_table.go /^package shs$/;" p
|
||||
shs stack.go /^package shs$/;" p
|
||||
shs token.go /^package shs;$/;" p
|
||||
shs var_table.go /^package shs$/;" p
|
||||
string_delims token.go /^const string_delims string = "\\"'`"$/;" c
|
||||
tokenIsNumber token.go /^func tokenIsNumber(arg string) bool {$/;" f
|
||||
token_t token.go /^type token_t int$/;" t
|
||||
Loading…
Add table
Add a link
Reference in a new issue