Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Veryl

< >

Veryl is an open source programming language created in 2022 by Naoya Hatta.

#462on PLDB 2Years Old
Download source code:
git clone https://github.com/veryl-lang/veryl
Homepage · Source Code · Docs

Veryl: A Modern Hardware Description Language


// Hello world in Veryl module ModuleA { initial { $display("Hello, world!"); } }

Language features

Feature Supported Example Token
Conditionals ✓
Constants ✓
Line Comments ✓ // A comment //
Print() Debugging ✓ $display("Hi"); $display
File Imports ✓ // file scope import import $sv::SvPackage::*; module ModuleA { import PackageA::*; import PackageA::paramA; } package PackageA { local paramA: u32 = 1; }
Directives ✓ #[test(test1)] embed (inline) sv{{{ module test1; initial begin assert (0) else $error("error"); end endmodule }}}
MultiLine Comments ✓ /* A comment */ /* */
Comments ✓ // https://doc.veryl-lang.org/book/05_language_reference/02_lexical_structure.html // a comment
Strings ✓ "hello world" "
While Loops X
Booleans X
Type Inference X
Case Insensitive Identifiers X
Semantic Indentation X
Pattern Matching X
Operator Overloading X
View source
- Build the next great programming language · Add · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements · Part of the World Wide Scroll