Measures Concepts
GitHub icon

Nymph

Nymph - Programming language

< >

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

Source code:
git clone https://github.com/maelswarm/nymph
#1203on 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 · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout