devsoc-unsw / structs.sh

An educational data structures and algorithms platform.
https://structs.sh
MIT License
27 stars 7 forks source link

Make linked list struct parsing more generalised #645

Closed francojreyes closed 4 months ago

francojreyes commented 4 months ago

Currently, assumes that linked list node is structured exactly where the first field is data and the second field is next (or maybe not)? Make this more general by allowing arbitrary ordering and number of fields.

francojreyes commented 4 months ago

Apparently this actually works