Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Difference From trunk
To version-0.0.10
2024-05-07
| | |
13:31 |
|
...
(Leaf
check-in: 0f043ac65e user: stern tags: trunk)
|
11:07 |
|
...
(check-in: 6f3e8a6f77 user: stern tags: trunk)
|
2021-02-26
| | |
11:53 |
|
...
(check-in: d69e61d8eb user: stern tags: trunk)
|
11:14 |
|
...
(check-in: 5d9e4fc19e user: stern tags: trunk, release, version-0.0.10)
|
10:36 |
|
...
(check-in: 09837eae5e user: stern tags: trunk)
|
| | |
Added .deepsource.toml.
|
1
2
3
4
5
6
7
8
|
+
+
+
+
+
+
+
+
|
version = 1
[[analyzers]]
name = "go"
enabled = true
[analyzers.meta]
import_paths = ["github.com/zettelstore/zettelstore"]
|
| | | | | | |
Deleted .github/dependabot.yml.
1
2
3
4
5
6
7
8
9
10
11
12
|
|
-
-
-
-
-
-
-
-
-
-
-
-
|
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "gomod" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
rebase-strategy: "disabled"
|
Changes to LICENSE.txt.
1
2
3
4
5
6
7
8
|
1
2
3
4
5
6
7
8
|
-
+
|
Copyright (c) 2020-present Detlef Stern
Copyright (c) 2020-2021 Detlef Stern
Licensed under the EUPL
Zettelstore is licensed under the European Union Public License, version 1.2 or
later (EUPL v. 1.2). The license is available in the official languages of the
EU. The English version is included here. Please see
https://joinup.ec.europa.eu/community/eupl/og_page/eupl for official
|
︙ | | |
Changes to Makefile.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
+
-
+
-
+
-
+
|
## Copyright (c) 2020-present Detlef Stern
## Copyright (c) 2020-2021 Detlef Stern
##
## This file is part of Zettelstore.
## This file is part of zettelstore.
##
## Zettelstore is licensed under the latest version of the EUPL (European Union
## Public License). Please see file LICENSE.txt for your rights and obligations
## under this license.
.PHONY: check relcheck api version build release clean
.PHONY: check build release clean
check:
go run tools/check/check.go
go run tools/build.go check
relcheck:
go run tools/check/check.go -r
api:
go run tools/testapi/testapi.go
version:
@echo $(shell go run tools/build/build.go version)
@echo $(shell go run tools/build.go version)
build:
go run tools/build/build.go build
go run tools/build.go build
release:
go run tools/build/build.go release
go run tools/build.go release
clean:
go run tools/clean/clean.go
go run tools/build.go clean
|
Changes to README.md.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
1
2
3
|
-
+
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|
# Zettelstore
# zettelstore
**Zettelstore** is a software that collects and relates your notes
(“zettel”) to represent and enhance your knowledge. It helps with
many tasks of personal knowledge management by explicitly supporting the
[Zettelkasten method](https://en.wikipedia.org/wiki/Zettelkasten). The method
is based on creating many individual notes, each with one idea or information,
that are related to each other. Since knowledge is typically build up
gradually, one major focus is a long-term store of these notes, hence the name
“Zettelstore”.
A storage and service for zettel notes.
To get an initial impression, take a look at the
[manual](https://zettelstore.de/manual/). It is a live example of the
zettelstore software, running in read-only mode.
[Zettelstore Client](https://t73f.de/r/zsc) provides client software to access
Zettelstore via its API more easily, [Zettelstore
Contrib](https://zettelstore.de/contrib) contains contributed software, which
often connects to Zettelstore via its API. Some of the software packages may be
experimental.
The software, including the manual, is licensed
under the [European Union Public License 1.2 (or
later)](https://zettelstore.de/home/file?name=LICENSE.txt&ci=trunk).
[Stay tuned](https://mastodon.social/tags/Zettelstore) …
|
Changes to VERSION.
1
|
1
|
-
+
|
0.18.0-dev
0.0.10
|
Changes to ast/ast.go.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
-
+
-
+
-
-
-
-
+
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
+
+
+
+
|
//-----------------------------------------------------------------------------
// Copyright (c) 2020-present Detlef Stern
// Copyright (c) 2020-2021 Detlef Stern
//
// This file is part of Zettelstore.
// This file is part of zettelstore.
//
// Zettelstore is licensed under the latest version of the EUPL (European Union
// Public License). Please see file LICENSE.txt for your rights and obligations
// under this license.
//
// SPDX-License-Identifier: EUPL-1.2
// SPDX-FileCopyrightText: 2020-present Detlef Stern
//-----------------------------------------------------------------------------
// Package ast provides the abstract syntax tree for parsed zettel content.
// Package ast provides the abstract syntax tree.
package ast
import (
"net/url"
"zettelstore.de/z/zettel"
"zettelstore.de/z/zettel/id"
"zettelstore.de/z/zettel/meta"
"zettelstore.de/z/domain"
"zettelstore.de/z/domain/id"
"zettelstore.de/z/domain/meta"
)
// ZettelNode is the root node of the abstract syntax tree.
// It is *not* part of the visitor pattern.
type ZettelNode struct {
Meta *meta.Meta // Original metadata
Content zettel.Content // Original content
Zid id.Zid // Zettel identification.
InhMeta *meta.Meta // Metadata of the zettel, with inherited values.
Ast BlockSlice // Zettel abstract syntax tree is a sequence of block nodes.
Zettel domain.Zettel
Zid id.Zid // Zettel identification.
InhMeta *meta.Meta // Meta data of the zettel, with inherited values.
Title InlineSlice // Zettel title is a sequence of inline nodes.
Ast BlockSlice // Zettel abstract syntax tree is a sequence of block nodes.
Syntax string // Syntax / parser that produced the Ast
}
// Node is the interface, all nodes must implement.
type Node interface {
WalkChildren(v Visitor)
Accept(v Visitor)
}
// BlockNode is the interface that all block nodes must implement.
type BlockNode interface {
Node
blockNode()
}
// BlockSlice is a slice of BlockNodes.
type BlockSlice []BlockNode
// ItemNode is a node that can occur as a list item.
type ItemNode interface {
BlockNode
itemNode()
}
|
︙ | | |
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
+
+
+
-
+
-
+
-
|
type DescriptionSlice []DescriptionNode
// InlineNode is the interface that all inline nodes must implement.
type InlineNode interface {
Node
inlineNode()
}
// InlineSlice is a slice of InlineNodes.
type InlineSlice []InlineNode
// Reference is a reference to external or internal material.
type Reference struct {
URL *url.URL
Value string
State RefState
}
// RefState indicates the state of the reference.
type RefState int
// Constants for RefState
const (
RefStateInvalid RefState = iota // Invalid Reference
RefStateInvalid RefState = iota // Invalid Referende
RefStateZettel // Reference to an internal zettel
RefStateSelf // Reference to same zettel with a fragment
RefStateFound // Reference to an existing internal zettel, URL is ajusted
RefStateFound // Reference to an existing internal zettel
RefStateBroken // Reference to a non-existing internal zettel
RefStateHosted // Reference to local hosted non-Zettel, without URL change
RefStateBased // Reference to local non-Zettel, to be prefixed
RefStateQuery // Reference to a zettel query
RefStateExternal // Reference to external material
)
|
Added ast/attr.go.