commit 2c14029da763f3587d25d1c7d7f6c307cd7d6494
Author: ChanderG <[email protected]>
Date: Wed, 26 Nov 2025 14:16:20 +0530
setting up basic system and build
Diffstat:
4 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -0,0 +1,8 @@
+build:
+ sbcl --load grep.asd \
+ --eval '(ql:quickload :grep)' \
+ --eval '(asdf:make :grep)' \
+ --eval '(quit)'
+
+clean:
+ rm cl-grep
diff --git a/grep.asd b/grep.asd
@@ -0,0 +1,8 @@
+(asdf:defsystem grep
+ :version "0.0.1"
+ :author "Chander Govindarajan"
+ :components ((:file "package")
+ (:file "grep"))
+ :build-operation "program-op"
+ :build-pathname "cl-grep"
+ :entry-point "cl-grep:main")
diff --git a/grep.lisp b/grep.lisp
@@ -0,0 +1,4 @@
+(in-package cl-grep)
+
+(defun main ()
+ (format t "WIP!"))
diff --git a/package.lisp b/package.lisp
@@ -0,0 +1,3 @@
+(defpackage cl-grep
+ (:use :cl)
+ (:export #:main))