Alsenz-Obermoschel

Alsenz-Obermoschel is a former Verbandsgemeinde ("collective municipality") in the Donnersbergkreis, in Rhineland-Palatinate, Germany. On 1 January 2020 it was merged into the new Verbandsgemeinde Nordpfälzer Land. It was situated on the river Alsenz, approx. 15 km south of Bad Kreuznach, and 30 km north of Kaiserslautern. The seat of the municipality was in Alsenz.

Local municipalities

The Verbandsgemeinde Alsenz-Obermoschel consisted of the following Ortsgemeinden ("local municipalities"):

  1. Alsenz
  2. Finkenbach-Gersweiler
  3. Gaugrehweiler
  4. Kalkofen
  5. Mannweiler-Cölln
  6. Münsterappel
  7. Niederhausen an der Appel
  8. Niedermoschel
  1. Oberhausen an der Appel
  2. Obermoschel
  3. Oberndorf
  4. Schiersfeld
  5. Sitters
  6. Unkenbach
  7. Waldgrehweiler
  8. Winterborn

gollark: No, I have that stuff done.
gollark: I want a *different* set of "OPERATIONS ON RELEVANT NODE THING" and no HTML generation at the end, and it would be bees to just copy-paste the function here.
gollark: As of now, my code does```nimproc renderToHtml*(input: string): string = let wlRegex = re"\[\[([^:\]]+):?([^\]]+)?\]\]" let opt = CMARK_OPT_UNSAFE or CMARK_OPT_FOOTNOTES or CMARK_OPT_STRIKETHROUGH_DOUBLE_TILDE or CMARK_OPT_TABLE_PREFER_STYLE_ATTRIBUTES # create parser instance let str: cstring = input len: csize_t = len(input).csize_t parser: ParserPtr = cmark_parser_new(opt.cint) if parser == nil: raise newException(CatchableError, "failed to initialize parser") defer: cmark_parser_free(parser) [further initialization stuff] # parse document, get AST cmark_parser_feed(parser, str, len) let doc = cmark_parser_finish(parser) defer: cmark_node_free(doc) if doc == nil: raise newException(CatchableError, "parsing failed - should not occur") # iterate over AST using built-in cmark-gfm AST iteration thing for (evType, node) in cmarkTree(doc): # if it is a text node [OPERATIONS ON RELEVANT NODE THING] let html: cstring = cmark_render_html(doc, opt.cint, cmark_parser_get_syntax_extensions(parser)) defer: free(html) result = $html```
gollark: cmark. I will explain.
gollark: Hmm. Gibson, you use nim, yes? How can I nicely™ abstract this C library?
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.