Skip to content
#

Crystal

crystal logo

Crystal is a programming language with friendly syntax, static type checking and modern stdlib. It compiles into efficient, easy-to-distribute native code.

Here are 1,441 public repositories matching this topic...

confact
confact commented Sep 19, 2020

Hi

I have big issues with dynamic parameters when rendering HTML tags - I thought I was forced to use NamedTuple which doesn't work as It is very static and I can't set parameters for div tags based on params or parameters in components. It just won't let me.

I tried using a macro to generate NamedTuple, obviously in vain as it doesn't work:
https://gist.github.com/confact/0b07cd259a6fdfadd

Created by Ary Borenszweig, Juan Wajnerman

Released June 2011

Organization
crystal-lang
Website
crystal-lang.org
Wikipedia
Wikipedia
You can’t perform that action at this time.