~sircmpwn/hare-xml

66055290a935210e39b8831845b9d526b4e52ea1 — Drew DeVault 7 months ago f4ec931
all: add copyright headers

Signed-off-by: Drew DeVault <sir@cmpwn.com>
4 files changed, 17 insertions(+), 0 deletions(-)

M +test.ha
M chars.ha
M parser.ha
M types.ha
M +test.ha => +test.ha +5 -0
@@ 1,3 1,8 @@
// License: MPL-2.0
// (c) 2022 Alexey Yerin <yyp@disroot.org>
// (c) 2021 Bor Grošelj Simić <bor.groseljsimic@telemach.net>
// (c) 2021 Drew DeVault <sir@cmpwn.com>
// (c) 2021 Eyal Sawady <ecs@d2evs.net>
use io;
use bufio;
use strings;

M chars.ha => chars.ha +2 -0
@@ 1,3 1,5 @@
// License: MPL-2.0
// (c) 2021 Drew DeVault <sir@cmpwn.com>
use ascii;

fn isnamestart(rn: rune) bool = {

M parser.ha => parser.ha +6 -0
@@ 1,3 1,9 @@
// License: MPL-2.0
// (c) 2022 Alexey Yerin <yyp@disroot.org>
// (c) 2021 Drew DeVault <sir@cmpwn.com>
// (c) 2021 Eyal Sawady <ecs@d2evs.net>
// (c) 2022 Sebastian <sebastian@sebsite.pw>

// Are you an intrepid programmer seeking to fork this module to create a more
// sophisticated XML parser supporting a broader set of features? Good news: all
// of the features you need to implement are annotated throughout with

M types.ha => types.ha +4 -0
@@ 1,3 1,7 @@
// License: MPL-2.0
// (c) 2022 Alexey Yerin <yyp@disroot.org>
// (c) 2021 Drew DeVault <sir@cmpwn.com>
// (c) 2021 Eyal Sawady <ecs@d2evs.net>
use bufio;
use encoding::utf8;
use io;