Category:Night: Difference between revisions

From Rosetta Code
Content added Content deleted
(Created page with "'''Night''' is an interpreted programming language made by [https://www.github.com/DynamicSquid DynamicSquid] that combines the simplicity of [https://www.python.org Python] w...")
 
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{language|Night|checking=dynamic}}
'''Night''' is an interpreted programming language made by [https://www.github.com/DynamicSquid DynamicSquid] that combines the simplicity of [https://www.python.org Python] with the type concepts of the C family. Its official website is [https://night-web.dynamicsquid.repl.co here] and the source code is [https://github.com/DynamicSquid/Night here].


'''Night''' is an interpreted language that focuses on simplicity and usability. The main goal of Night is to design an intuitive and safe language. It's dynamically typed and semi-weak.
== Built-in functions ==

Right now the only built-in function is <code>print</code>, similar to C's <code>printf</code>. It takes a string as an argument and prints it to the screen (like C, but unlike Python, without a newline).
What makes Night differ from other dynamically typed languages is its compile time checking. Whereas a language like Python wouldn't type check a variable, nor check if a variable even exists or not at compile time, Night fills this gap, eliminating hidden runtime bugs and providing a more reliable usage.
== Types ==

The types are:
Also note that Night is still fairly new in the development process.
* integers (<code>int</code>)
* floating points (<code>dec</code>)
* booleans (<code>bit</code>)
* characters (<code>syb</code>)
* string (<code>str</code>)

Latest revision as of 14:50, 3 April 2024

Language
Night
This programming language may be used to instruct a computer to perform a task.
Type checking: Dynamic
See Also:


Listed below are all of the tasks on Rosetta Code which have been solved using Night.

Night is an interpreted language that focuses on simplicity and usability. The main goal of Night is to design an intuitive and safe language. It's dynamically typed and semi-weak.

What makes Night differ from other dynamically typed languages is its compile time checking. Whereas a language like Python wouldn't type check a variable, nor check if a variable even exists or not at compile time, Night fills this gap, eliminating hidden runtime bugs and providing a more reliable usage.

Also note that Night is still fairly new in the development process.

Pages in category "Night"

This category contains only the following page.