summaryrefslogtreecommitdiff
path: root/html-jen.lisp
diff options
context:
space:
mode:
authorriton <riton@riton.home>2025-03-18 15:38:40 +0300
committerriton <riton@riton.home>2025-03-18 15:38:40 +0300
commitb005e986c06681d98eb4f151147e96d8b5beddbb (patch)
tree1a208e8b895fa0317e0442bb4759b52e9166d67b /html-jen.lisp
parentecda6371c07f91dea0837d0a0a1f20e5cd12e029 (diff)
node tanımı, tanım dosyasına taşındı
Diffstat (limited to 'html-jen.lisp')
-rw-r--r--html-jen.lisp21
1 files changed, 0 insertions, 21 deletions
diff --git a/html-jen.lisp b/html-jen.lisp
index 3eb5e54..fdae7ed 100644
--- a/html-jen.lisp
+++ b/html-jen.lisp
@@ -1,26 +1,5 @@
(in-package :html-jen)
-(defun dosya-metni-oku (dosya)
- (let* ((uzunluk 0)
- (metin
- (with-output-to-string (out)
- (with-open-file (in dosya :external-format :utf-8)
- (loop :with arabellek := (make-array 8192 :element-type 'character)
- :for n := (read-sequence arabellek in)
- :while (< 0 n)
- :do (incf uzunluk n)
- (write-sequence arabellek out :start 0 :end n))))))
- (values metin uzunluk)))
-
-(defclass node ()
- ((tag :initarg :tag :accessor tag :initform nil)
- (children :initarg :children :accessor children :initform nil)
- (props :initarg :props :accessor props :initform nil)
- (value :initarg :value :accessor value :initform nil)))
-
-(defun node! (tag children props value)
- (make-instance 'node :tag tag :children children :props props :value value))
-
(defparameter *indent* 0)
(defparameter *indent-increment* 2)
(defparameter *yeni-satır* t)