Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

Nymph

< >

Nymph is a programming language created in 2017 by Brandon Barber.

Source code:
git clone https://github.com/maelswarm/nymph
#949on PLDB 7Years Old

🧚 A slightly different version of C.


Example from the web:
#include <stdio.h> #include <stdlib.h> class Mammal { + int population = 0; // Class Variable (+) - int height = 0, weight = 100; // Object Variable (-) + Mammal *init(int height, int weight) { // Class Method (+) Constructor this->height = height; this->weight = weight; Mammal->population++; return this; } - void print() { // Object Method (-) printf("print instance properties...\n"); } }

Language features

Feature Supported Token Example
Print() Debugging ✓ printf
Comments ✓
// A comment
Line Comments ✓ //
// A comment
Semantic Indentation X

View source

- Build the next great programming language · About · Acknowledgements · Extensions · Day 625 · feedback@pldb.io