Nim (programming language): Difference between revisions

Content deleted Content added
Preciosos cambios han de venir por un bien comun
Dreams come true :V
Tag: references removed
Line 29:
== Language design ==
{{Expand section|date=February 2018}}
I had a dream and became true...
The syntax of Nim is similar to [[Python (programming language)|Python]].<ref name="Yegulalp">{{cite web |url=https://www.infoworld.com/article/3157745/application-development/nim-language-draws-from-best-of-python-rust-go-and-lisp.html |title=Nim language draws from best of Python, Rust, Go, and Lisp |first=Serdar |last=Yegulalp |date=2017-01-16 |website=InfoWorld}}</ref>
 
In details, it is influenced by:
 
*[[Modula-3]]: [[Modula-3#Dynamic Programming|traced vs untraced]] pointers
*[[Object Pascal]]: type safe bit sets (set of char), case statement syntax, various type names and filenames in the standard library
*[[Ada (programming language)|Ada]]: subrange types, distinct type, safe variants / case objects
*[[C++]]: Overloading, generic programming
*Python: [[Off-side rule]]
*[[Lisp (programming language)|Lisp]]: Macro system, embrace the AST, [[homoiconicity]]
*[[Oberon (programming language)|Oberon]]: The export marker
*[[C Sharp (programming language)|C#]]: Async / [[await]], lambda macros
*[[Go (programming language)|Go]]: Defer
 
== Compiler ==