From b12d4e957669d256df5be614db4e5e8ae893daae Mon Sep 17 00:00:00 2001 From: Andrew Chambers Date: Sun, 17 Oct 2021 15:12:59 +1300 Subject: Add note about global variables. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index bf4c529..9db2f91 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,10 @@ Bonus features: quite light as it uses string and value interning. In the future we could use an arena allocator for minias and still avoid manual calls to free. +- Minias deliberately uses global variables in a style similar class members in C++. + This is a more traditional unix style where the unit of data encapsulation is a + small program. This choice makes sense given we don't aim to build a library. + - Minias deliberately keeps the peg grammar quite repetitive and simple, please keep it this way. -- cgit v1.2.3