Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Nymph

< >

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

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

🧚 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 Example Token
Print() Debugging ✓ printf
Comments ✓ // A comment
Line Comments ✓ // A comment //
Semantic Indentation X
- Build the next great programming language · Add · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements · Part of the World Wide Scroll