N-lang
N-lang copied to clipboard
A strongly-typed programming language by the N building with a general-purpose use
Updating the JS branch to the newest standard, it will be labeled as `v0.1.0` after this! Things to add: - [ ] operators - [x] XOR - [x] Update not...
Currently, a major problem with N is that it does not have a use case. It is able to do backends but there are other languages, such as rust or...
Currently in N to do something like this: ```py boardShadows[i][j][k] = True ``` You have to do: ```js boardShadows = [ ..boardShadows.subsection(0, i), [ ..(boardShadows[i] | []).subsection(0, j), [ ..(boardShadows[i][j]...
This would make it easier to do mappings if all of the typings for N were open online and people did not have to download N to make the mappings.
In Python, you don't need parentheses around tuples all the time. For example, ```py # Swaps variables a, b = b, a # Iterate over list with index for i,...
While putting in the correct command into Powershell works fine doing `n --update` gives this error: ``` Remove-Item : Cannot remove item C:\Users\Ashvin\.n\bin\_asyncio.pyd: Access to the path 'C:\Users\Ashvin\.n\bin\_asyncio.pyd' is denied....
As a user, it would be best to be able to use N in VSCode and have syntax highlighting and support for common plugins like eslint and prettier. Now that...
For operator overloading, I think we could be like Rust and define traits for each operation (addition, etc.). Then types (probably just enum types) can implement traits. Traits can also...
In the syntax, values are generally more tautly contained, like numbers or record literals, where you can't possibly think of ripping the value up into smaller pieces. Expressions, however, usually...