diff --git a/Makefile b/Makefile index 8843a72..abf4ec3 100644 --- a/Makefile +++ b/Makefile @@ -5,14 +5,14 @@ OBJ := csv.go .PHONY: all clean install uninstall all: $(OBJ) -%.go: csv/%.scm +%.go: csv2/%.scm @GUILE_AUTO_COMPILE=0 guild compile $< -o $@ install: $(TARGET)/csv $(CCACHE)/csv $(TARGET)/csv: @echo "Installing source..." - cp -fr csv/ $(TARGET) + cp -fr csv2/ $(TARGET) @echo "Install complete." $(CCACHE)/csv: diff --git a/README.md b/README.md index b9dd598..e1324f0 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,10 @@ guile-csv ========= A csv reader for Guile. Forked from [Nala Ginrut's][og-repo] repository of the -same name. I forked simply because I plan on using this code (or some -derivative) and as my needs change so too will the interface. Pushing breaking -changes to a 5 year old repository isn't exactly my idea of a good time. +same name. This version of the library is built with the tools available in +`(sxml transform)` in mind, if you don't need to run `(pre-post-order)` to clean +your data up, use the original instead. + ### install @@ -19,7 +20,7 @@ changes to a 5 year old repository isn't exactly my idea of a good time. First get yourself a port out of whatever csv you want to process: ```scheme -(use-modules (csv csv)) +(use-modules (csv2 csv)) (define $port (open-input-string "a,b\n1,2\n3,4")) ``` diff --git a/csv/csv.scm b/csv2/csv.scm similarity index 100% rename from csv/csv.scm rename to csv2/csv.scm