diff options
| author | 2025-01-25 15:37:19 -0500 | |
|---|---|---|
| committer | 2025-01-25 15:37:19 -0500 | |
| commit | b0e41b9af1f9ce89fe6ef90686abd1dac6b86c10 (patch) | |
| tree | a162e0445b007d9e9fdc117a702cfd58e136cd27 /prelude.scm | |
block structure
Diffstat (limited to '')
| -rw-r--r-- | prelude.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/prelude.scm b/prelude.scm new file mode 100644 index 0000000..c801175 --- /dev/null +++ b/prelude.scm @@ -0,0 +1,28 @@ +#| Copyright 2024 Peter McGoron + | + | Licensed under the Apache License, Version 2.0 (the "License"); + | + | you may not use this file except in compliance with the License. + | You may obtain a copy of the License at + | + | http://www.apache.org/licenses/LICENSE-2.0 + | + | Unless required by applicable law or agreed to in writing, software + | distributed under the License is distributed on an "AS IS" BASIS, + | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + | See the License for the specific language governing permissions and + | limitations under the License. + |# + +(load "mcgoron/srfi/61.sld") +(load "market/string.sld") +(load "market/blocks.sld") +(load "market/default.sld") + +(import (market default) (market blocks)) + +(define node #f) +(define (p s) (set! node (parse->document s node)) (display node)) +(p "> lorem") +(p "> ipsum") +;;; TODO: how to handle empty-line and adding EOL? |
