Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

Nymph

< >

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

#970on PLDB 7Years Old
Download source code:
git clone https://github.com/maelswarm/nymph

🧚 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 · Resources · Acknowledgements · Part of the World Wide Scroll