Milec family Zoo
Milec family Zoo is a private zoo park and state asylum of wild animals. It is located in Ruščica, a village near Slavonski Brod. The director is Mirko Milec. The zoo, apart from domestic animals, has bears, wolves, tigers, eagles, monkeys, caymans, snakes and lynx.
Location | Slavonski Brod, Croatia |
---|---|
No. of animals | 300 |
No. of species | 70 |
Website | http://www.zoo-milec.com/novosti.html |
Sources
- Posjetitelje najviše privlače zmije, majmuni i tigar (in Croatian)
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.