Bläddra i källkod

Update for 2015 and newer knowledge

Lily Carpenter 9 år sedan
förälder
incheckning
167bf346e5
7 ändrade filer med 73 tillägg och 12 borttagningar
  1. 52 0
      .gitignore
  2. 1 1
      LICENSE
  3. 0 6
      README.md
  4. 3 0
      README.org
  5. 12 0
      mailfilter-parse.asd
  6. 1 5
      parse-mailfilter.lisp
  7. 4 0
      package.lisp

+ 52 - 0
.gitignore

@@ -0,0 +1,52 @@
1
+
2
+# Created by https://www.gitignore.io/api/emacs,linux,commonlisp
3
+
4
+### Emacs ###
5
+# -*- mode: gitignore; -*-
6
+*~
7
+\#*\#
8
+/.emacs.desktop
9
+/.emacs.desktop.lock
10
+*.elc
11
+auto-save-list
12
+tramp
13
+.\#*
14
+
15
+# Org-mode
16
+.org-id-locations
17
+*_archive
18
+
19
+# flymake-mode
20
+*_flymake.*
21
+
22
+# eshell files
23
+/eshell/history
24
+/eshell/lastdir
25
+
26
+# elpa packages
27
+/elpa/
28
+
29
+# reftex files
30
+*.rel
31
+
32
+# AUCTeX auto folder
33
+/auto/
34
+
35
+# cask packages
36
+.cask/
37
+
38
+
39
+### Linux ###
40
+*~
41
+
42
+# KDE directory preferences
43
+.directory
44
+
45
+# Linux trash folder which might appear on any partition or disk
46
+.Trash-*
47
+
48
+
49
+### CommonLisp ###
50
+*.FASL
51
+*.fasl
52
+*.lisp-temp

+ 1 - 1
LICENSE

@@ -1,4 +1,4 @@
1
-Copyright (c) 2013, Lily Carpenter
1
+Copyright (c) 2015, Lily Carpenter
2 2
 All rights reserved.
3 3
 
4 4
 Redistribution and use in source and binary forms, with or without modification,

+ 0 - 6
README.md

@@ -1,6 +0,0 @@
1
-mailfilter_parse
2
-================
3
-
4
-Simple LISP library to parse a maildir file into a usable structure. Used for my filter-mail repository.
5
-
6
-This is my first LISP program and has not yet been cleaned up, be forewarned: Here, there be dragons. (As in really ugly code)

+ 3 - 0
README.org

@@ -0,0 +1,3 @@
1
+* mailfilter-parse
2
+
3
+Simple LISP library to parse a maildir file into a usable structure. I can then easily perform operations on maildir directories using this structure.

+ 12 - 0
mailfilter-parse.asd

@@ -0,0 +1,12 @@
1
+;;;; mailfilter-parse.asd
2
+
3
+(asdf:defsystem #:mailfilter-parse
4
+  :description "Read mailfilter files and apply the rules to mail messages."
5
+  :author "Lily Carpenter (azrazalea)"
6
+  :license "BSD 3-clause"
7
+  :depends-on (#:cl-ppcre
8
+               #:alexandria
9
+               #:mel-base)
10
+  :serial t
11
+  :components ((:file "package")
12
+               (:file "mailfilter-parse")))

+ 1 - 5
parse-mailfilter.lisp

@@ -1,4 +1,4 @@
1
-;;;;Copyright (c) 2013, Lily Carpenter
1
+;;;;Copyright (c) 2015, Lily Carpenter
2 2
 ;;;;All rights reserved.
3 3
 ;;;;
4 4
 ;;;;Redistribution and use in source and binary forms, with or without modification,
@@ -26,10 +26,6 @@
26 26
 ;;;;(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27 27
 ;;;;SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 28
 
29
-(require :asdf)
30
-(require :sigma)
31
-(sigma:use-all-sigma)
32
-
33 29
 (defvar *commands* '("to"))
34 30
 (defvar *maildir* nil)
35 31
 

+ 4 - 0
package.lisp

@@ -0,0 +1,4 @@
1
+;;;; package.lisp
2
+
3
+(defpackage #:mailfilter-parse
4
+  (:use #:cl))