Cleanup
This commit is contained in:
@@ -7,20 +7,20 @@ import fp/[
|
|||||||
option,
|
option,
|
||||||
resultM,
|
resultM,
|
||||||
]
|
]
|
||||||
import fusion/matching
|
|
||||||
import ./org_types
|
import ./org_types
|
||||||
import ./org_builder_api
|
import ./org_builder_api
|
||||||
import ../parser/parser
|
import ../parser/parser
|
||||||
import ../utils/fp
|
import ../utils/fp
|
||||||
|
|
||||||
|
import fusion/matching
|
||||||
{.experimental: "caseStmtMacros".}
|
{.experimental: "caseStmtMacros".}
|
||||||
|
|
||||||
# -- Parsers
|
# -- Parsers
|
||||||
|
|
||||||
let linkStartParser* = following(@[
|
let linkStartParser* = following(@[
|
||||||
ignore(str("[[")),
|
ignore(str("[[")),
|
||||||
anyUntil(choice(@[str("]["), str("]]")])),
|
anyUntil(choice(@[str("]["), str("]]")])),
|
||||||
optional(ignore(str("][")))
|
optional(ignore(str("][")))
|
||||||
])
|
])
|
||||||
let linkEndParser* = following(@[
|
let linkEndParser* = following(@[
|
||||||
anyUntil(str("]]")),
|
anyUntil(str("]]")),
|
||||||
|
|||||||
Reference in New Issue
Block a user