Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.23 KB

File metadata and controls

23 lines (19 loc) · 1.23 KB

Custom Programming Language

I want to make a new programming language, one that incorportates syntax and features from multiple other languages. To me it doesn't matter if it were to be a compiled or interpretted language, whether it compiles to machine code like C or runs on the JVM, none of that part matters to me, I just want one language with a bunch of features from other languages that I've used over the years.

This will be a "living" document that will be updated periodically to include the list of features I would want included.

The main things would be:

  • C-style control flow syntax, using braces to separate blocks
  • Object-oriented
  • Strict typing (syntax like Java, e.g. public Type varName;)
  • list comprehension from Python
  • named arguments using the same syntax as Dart
  • Strict typing (syntax like Java, types first)
  • Java-Style Enums
  • Inheritance
  • Interfaces
  • Ability to either extend multiple parent classes or provide default implementations for Interfaces
  • lambda functions
  • pipelines
  • syntax fir manipulating the same object multiple times (like the double-dot syntax in Dart or the fat-pipes sytax in Civet)
  • ...

This list will expand over time as I come across other language features that I would want to include.