Coder Social home page Coder Social logo

orng_old's Introduction

Orng

Orng is a simple, modular general-purpose programming language for hobby programmers. Hobbyist programmers continuously modify their projects as living-breathing documents. Orng has many constructs that are more aligned with this type of programming.

Alt Text

Read the documentation here!

Module and Package System

Orng features a package and module system which makes it easy to re-use and organize code. Modules and packages are first class in Orng, meaning they can be assigned to variables and passed around as parameters to functions.

Packages in Orng are simply folders/directories with a .pkg.orng manifest file, and .orng source code files. Package description is done using Orng itself, so there's no need to learn another complicated package management utility.

Elegant Arithmetic Type System

Unlike most languages, Orng has structural type equivalence, which means two types are equivalent if they have the same structure. Types are also first class in Orng, meaning you can assign and pass them as values.

Perfect Interoperability With C/C++ ABI

Orng compiles to C, and allows for C functions to be called from Orng code, offering perfect bidirectional interoperability with C. You can use pre-exisiting C libraries, or drop in Orng into your pre-exisiting C project.

Planned Features

  • Inner functions, methods for product and sum data types
  • Default parameters, named arguments
  • Sum data types
  • 'Maybe' sum data types
  • Error sum data types
  • Parametric types
  • Interfaces/typeclasses/traits
  • String interpolation
  • Runtime constancy (immutability)
  • Attributes
  • Test suite
  • Visual Studio language server
  • LLVM code generation

Maybe?

  • Pattern matching
  • Exponentiation
  • Relational operator chaining
  • Refinement types
  • Quantifiers some, all, none for iterators

orng_old's People

Contributors

rakhyvel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.