nim-lang / needed-libraries

This repository contains a list a needed libraries.
112 stars 5 forks source link

Embedded Nim HTML (*.enim.html?) #110

Open Willyboar opened 4 years ago

Willyboar commented 4 years ago

Something similar to Ruby's standard library(erb) or Crystal(ecr).

Araq commented 4 years ago

We have htmlgen in the stdlib, "source code filters" in the Nim language and "karax" as a Nimble package. One of these should really fit your needs.

Willyboar commented 4 years ago

@Araq yes I agree. Both htmlgen and SCF can make the job ( I haven't look Karax yet). But I believe embedded nim would be better for new programmers with web programming in mind.

disruptek commented 4 years ago

@Araq There's apparently no way to add source code filters to Nim unless you want to maintain your own fork of the compiler, so I'd say that's hardly a reasonable suggestion.

enthus1ast commented 1 year ago

Also Nimja https://github.com/enthus1ast/nimja