12 次代碼提交 fc57c4e98f ... 38a60ad7fa

作者 SHA1 備註 提交日期
  Dylan Jeffers 38a60ad7fa Fix pos, neg. Revert fns to fn-case 7 年之前
  Dylan Jeffers 03927a95ef Refactor module to ns 7 年之前
  Dylan Jeffers bd4dfd388a Rename fn-case to fns 7 年之前
  Dylan Jeffers ee4bd40544 Indent data, trans 7 年之前
  Dylan Jeffers dd4271ca00 Rename Arguile to Argyle 7 年之前
  Dylan Jeffers 7e1e1f1e6e Add tuple type (used to be pair) 7 年之前
  Dylan Jeffers 6a3c01592c Fix Guile stream type issues 7 年之前
  Dylan Jeffers 9944248d2d Add stream gen-fns 7 年之前
  Dylan Jeffers 46ed1a866a Fix cond exp 7 年之前
  Dylan Jeffers a7b0dd9938 Fix gen: Add deflt f, Delay defd? check till runtime 7 年之前
  Dylan Jeffers 6d3fe85339 Add <q>, q-pk 7 年之前
  Dylan Jeffers 9fbe972fad Add stream type, Add generic car, cdr, take, drop 7 年之前
共有 10 個文件被更改,包括 67 次插入75 次删除
  1. 2 2
      README.md
  2. 0 33
      arguile.scm
  3. 0 18
      arguile/base.scm
  4. 0 11
      arguile/tests/tssyntax.scm
  5. 34 0
      argyle.scm
  6. 20 0
      argyle/base.scm
  7. 4 4
      arguile/base/ctrl.scm
  8. 2 2
      arguile/base/err.scm
  9. 5 5
      arguile/base/fn.scm
  10. 0 0
      arguile/base/generic.scm

+ 2 - 2
README.md

@@ -1,3 +1,3 @@
-# arguile
+# argyle
 
-Arc + Guile
+Arc + Guile

+ 0 - 33
arguile.scm

@@ -1,33 +0,0 @@
-(module (arguile)
-  :duplicates (last))
-(use (arguile base)
-     (arguile match)
-     (arguile data)
-     (arguile data tbl)
-     (arguile data vec)
-     (arguile data q)
-     (arguile generic)
-     (arguile loop)
-     (arguile nested-loop)
-     (arguile conc)
-     (arguile reader)
-     
-     (ice-9 match)
-     (ice-9 receive)
-     (srfi srfi-45))
-
-(re-export-modules
- (arguile base)
- (arguile match)
- (arguile data)
- (arguile data tbl)
- (arguile data vec)
- (arguile data q)
- (arguile generic)
- (arguile loop)
- (arguile nested-loop)
- (arguile conc)
- 
- (ice-9 match)
- (ice-9 receive)
- (srfi srfi-45))

+ 0 - 18
arguile/base.scm

@@ -1,18 +0,0 @@
-(module (arguile base))
-(use (arguile base mac)
-     (arguile base fn)
-     (arguile base ctrl)
-     (arguile base type)
-     (arguile base generic)
-     (arguile base err)
-     (arguile base io)
-     (arguile base module))
-
-(re-export-modules (arguile base mac)
-                   (arguile base fn)
-                   (arguile base ctrl)
-                   (arguile base type)
-                   (arguile base generic)
-                   (arguile base err)
-                   (arguile base io)
-                   (arguile base module))

+ 0 - 11
arguile/tests/tssyntax.scm

@@ -1,11 +0,0 @@
-(module (arguile tests tssyntax))
-(use (arguile ssyntax)
-     (arguile core))
-
-(mac test0
-  ((a) #'#t))
-
-(mac test1 x
-  ((a)
-   (with-syntax ((t (datum->syntax x 't)))
-     #'(let t #t t))))

+ 34 - 0
argyle.scm

@@ -0,0 +1,34 @@
+(ns (argyle)
+    :duplicates (last))
+
+(use (argyle base)
+     (argyle match)
+     (argyle data)
+     (argyle data tbl)
+     (argyle data vec)
+     (argyle data q)
+     (argyle generic)
+     (argyle loop)
+     (argyle nested-loop)
+     (argyle conc)
+     (argyle reader)
+     
+     (ice-9 match)
+     (ice-9 receive)
+     (srfi srfi-45))
+
+(re-export-ns
+ (argyle base)
+ (argyle match)
+ (argyle data)
+ (argyle data tbl)
+ (argyle data vec)
+ (argyle data q)
+ (argyle generic)
+ (argyle loop)
+ (argyle nested-loop)
+ (argyle conc)
+ 
+ (ice-9 match)
+ (ice-9 receive)
+ (srfi srfi-45))

+ 20 - 0
argyle/base.scm

@@ -0,0 +1,20 @@
+(ns (argyle base))
+(use (argyle base mac)
+     (argyle base fn)
+     (argyle base ctrl)
+     (argyle base type)
+     (argyle base generic)
+     (argyle base err)
+     (argyle base io)
+     (argyle base math)
+     (argyle base ns))
+
+(re-export-ns (argyle base mac)
+                   (argyle base fn)
+                   (argyle base ctrl)
+                   (argyle base type)
+                   (argyle base generic)
+                   (argyle base err)
+                   (argyle base io)
+                   (argyle base math)
+                   (argyle base ns))

+ 4 - 4
arguile/base/ctrl.scm

@@ -1,9 +1,9 @@
-(module (arguile base ctrl)
+(ns (argyle base ctrl)
     :replace (do = aif it & $> nil?))
 (use ((srfi srfi-1) :select (append-map lset-difference))
-     (arguile guile)
-     (arguile base mac)
-     (arguile base fn)
+     (argyle guile)
+     (argyle base mac)
+     (argyle base fn)
      (ice-9 control))
 (re-export abort (call/cc . c/cc) (call/ec . c/ec))
 

+ 2 - 2
arguile/base/err.scm

@@ -1,5 +1,5 @@
-(module (arguile base err))
-(use (arguile base fn))
+(ns (argyle base err))
+(use (argyle base fn))
 
 (defp err error)
 (defp syn-violation syntax-violation)

+ 5 - 5
arguile/base/fn.scm

@@ -1,7 +1,7 @@
-(module (arguile base fn)
-    :replace (fn fn-case def defp let ret w/ \\ ->> inline comp id? defd? wrap))
-(use (arguile guile)
-     (arguile base mac)
+(ns (argyle base fn)
+    :replace (fn fns def defp let ret w/ \\ ->> inline comp id? defd? wrap))
+(use (argyle guile)
+     (argyle base mac)
      (ice-9 receive))
 
 (mac def x
@@ -21,7 +21,7 @@
      #`((#,@(expand-kwargs #'(arg ...) fn-exp) . rst)
         body ...))))
 
-(mac fn-case
+(mac fns
   ((f1 f2 ...)
    #`(case-lambda*
       #,@(map fn-xpnd #'(f1 f2 ...)))))

+ 0 - 0
arguile/base/generic.scm


Some files were not shown because too many files changed in this diff