GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Skip To Content
  • Packages
  • Upload
  • Statistics
  • Documentation
  • Downloads
  • Blog
  • Sign in

This view

  • Original page
  • New address

GeezerVison is showing www.nuget.org — Norma 1.0.0



Norma 1.0.0

.NET 8.0 This package targets .NET 8.0. The package is compatible with this framework or higher.
  • .NET CLI
  • PMC
  • PackageReference
  • CPM
  • Paket CLI
  • Script & Interactive
  • File-Based Apps
  • Cake
dotnet add package Norma --version 1.0.0
                    
NuGet\Install-Package Norma -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Norma" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Norma" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Norma" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Norma --version 1.0.0
                    
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Norma, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package [email protected]
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Norma&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Norma&version=1.0.0
                    
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
  • README
  • Frameworks
  • Dependencies
  • Used By
  • Versions

Norma Programming Language

**Find Article about making it HashNode**

Norma is a programming language built in C# made to be extremely simple. It's syntax is similar to Python and JavaScript, but has my own custom spin on it.

Norma is a very simple language. To define a variable, use:

var x = 10

To access the variable put it in between $

var y = $x$

To create a pointer to that variable, use the point keyword.

var z = point: $x$

To call a function, don't use parenthesis.

print "Hello World"

Strings have automatic interpolation with variables using the $ syntax.

print "X is equal to $x$ and y is equal to $y$"

To define a function, use def

def add: left, right {
    return ($left$ + $right$)
}

add 5, 6

Any equations must be inside ( ).

var x = ($y$ * $z$)

To manipulate a variable, use + instead of += where + can be any operator

var x = 10
x + 5
x - 4
x * 3
x / 2
x = 1

print $x$

Comments are very simple

// Line Comment
/*
    Block Comment
*/

Arrays are also allowed in this language

var y = [0, 1, 2]

They are typeless and can hold anything including pointers

y = [0, "yes", ["no", $z$], point: $x$]

Structs are the next main feature

struct Vector { X, Y, Z }

var vec = Vector: 100, 5.23, 99

They can be accessed and modified easily,

vec.X = 150
vec.Y = $vec.X$

The values are also typeless and can be anything

vec.X = "Hello World"
vec.Y = point: $z$
vec.Z = [1, 2, 3]

Statements are straightforward as well

if x > 55 { 
    print "X is big"
}
elif x < 0 {
    print "X is negative"
}
else { 
    print "x is small"
}

There are loops as well

while true {
    print "yes"
}
for i in 150 {
    print $i$
}

For loops can also use arrays

for value in $array$ {
    print $value$
}

There are many built in functions as well (Test file):

  • print "text"
  • input
  • clear
  • exit
  • substring "text", $start$, $len$
  • indexOf "text", "e"
  • toLower "Text"
  • toUpper "text"
  • trim " text "
  • revere "string or array"
  • length ["string", "or", "array"]
  • append [0, 1], 5
  • remove $index$
  • insert $array$, $index$, $value$
  • slice [99, 98, 97, 96, 95], $start$, $len$
  • concat $array$, [0, 1, 2, 3]
  • sort [9, 5, 7, 2, 0]
Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Include prerelease
Include vulnerable
Include deprecated
Version Downloads Last Updated
1.0.0 284 5/31/2024
Downloads
Full stats →
Total 284
Current version 284
Per day average 0
About
  • Last updated 5/31/2024
  • Project website
  • Source repository
  • License Info
  • Download package  (157.06 KB)
  • Open in NuGet Package Explorer
  • Open in NuGet Trends
  • Report package
Owners
Contact owners →
  • JBros_Dev gravatar JBros_Dev

language norma programming

Use the Atom feed to subscribe to new versions of Norma

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.