Right now, the .dat files are something the original Erlang developer used to store Erlang data, but it's all formatted manually, as assembled strings. It would be better to let Erlang do the formatting (e.g., ~p).
Blocks:
54
Part of:
34
Tasks:
[x] Create a mini "serialiser" that writes Erlang data to files using format/~p
[x] Write some tests for it that reads this back (e.g., file:consult)
[x] Look for all occurrences of 'lmud-filestore':write and replace with new function calls
Right now, the .dat files are something the original Erlang developer used to store Erlang data, but it's all formatted manually, as assembled strings. It would be better to let Erlang do the formatting (e.g.,
~p
).Blocks:
54
Part of:
34
Tasks:
format/~p
file:consult
)'lmud-filestore':write
and replace with new function calls