Initial import.

This commit is contained in:
2010-12-29 12:23:16 -08:00
commit deec00d5e0
10 changed files with 729 additions and 0 deletions

14
hsrc/Syntax/Makefile Normal file
View File

@@ -0,0 +1,14 @@
CURDIR := $(TOPDIR)/hsrc/Syntax
SYNFILES := Lexer ParserCore AST Parser
SYNFILES_PREFIXED := $(addprefix $(CURDIR)/,$(SYNFILES))
OBJECTS += $(addsuffix .o,$(SYNFILES_PREFIXED))
HS_SOURCES += $(addsuffix .hs,$(SYNFILES_PREFIXED))
EXTRA_CLEAN += $(CURDIR)/Lexer.hs $(CURDIR)/Lexer.info \
$(CURDIR)/Parser.hs $(CURDIR)/Parser.info
.SECONDARY: $(CURDIR)/Lexer.hs $(CURDIR)/Parser.hs
$(CURDIR)/Parser.d: $(CURDIR)/Lexer.d