cysky·3 năm trước·discussYou can define string enum type with a macro.https://github.com/crystal-lang/crystal/issues/10281#issueco...
cysky·3 năm trước·discussInteresting, a lot of new languages are dynamic languages with types.You should try crystal lang if you love writing ruby code.crystal lang has both interpreter and compiler, so that you can debug with interpreter during development and run compiled binary in production.
cysky·4 năm trước·discussCrystal lang has both compiler and interpreter.https://github.com/crystal-lang/crystal
https://github.com/crystal-lang/crystal/issues/10281#issueco...