···11+---
22+version: 1.2.6
33+title: highlight_comments_ansi
44+---
55+#! shebang!
66+// This is some kind of comment
77+console.log("Hi");
88+/*
99+Another comment
1010+that spans several lines
1111+*/
1212+let x = /* this on is inline! */ 10;
1313+1414+1515+---
1616+1717+[3m[90m#! shebang![39m[23m[0m
1818+[0m[3m[90m// This is some kind of comment[39m[23m[0m
1919+[0m[0mconsole[0m[0m.[0m[34mlog[39m[0m([0m[32m"Hi"[39m[0m)[0m[0m;[0m[0m
2020+[0m[3m[90m/*
2121+Another comment
2222+that spans several lines
2323+*/[39m[23m[0m
2424+[0m[33mlet[39m[0m [0m[0mx[0m[0m [0m[35m=[39m[0m [0m[3m[90m/* this on is inline! */[39m[23m[0m [0m[32m10[39m[0m;[0m[0m
2525+[0m
+23
birdie_snapshots/highlight_errors_ansi.accepted
···11+---
22+version: 1.2.6
33+title: highlight_errors_ansi
44+---
55+66+let unknown = @;
77+let ustring = 'This string does not finish
88+let uregex = /uh oh
99+let badNumber = 0xabcdefg;
1010+/*
1111+This comment spans the rest of the program.
1212+1313+1414+---
1515+1616+[0m
1717+[0m[33mlet[39m[0m [0m[0munknown[0m[0m [0m[35m=[39m[0m [0m[0m@[0m[0m;[0m[0m
1818+[0m[33mlet[39m[0m [0m[0mustring[0m[0m [0m[35m=[39m[0m [0m[32m'This string does not finish[39m[0m
1919+[0m[33mlet[39m[0m [0m[0muregex[0m[0m [0m[35m=[39m[0m [0m[32m/uh oh[39m[0m
2020+[0m[33mlet[39m[0m [0m[0mbadNumber[0m[0m [0m[35m=[39m[0m [0m[32m0xabcdef[39m[0mg[0m[0m;[0m[0m
2121+[0m[3m[90m/*
2222+This comment spans the rest of the program.
2323+[39m[23m
+1
gleam.toml
···2020[dev-dependencies]
2121gleeunit = ">= 1.0.0 and < 2.0.0"
2222simplifile = ">= 2.2.1 and < 3.0.0"
2323+birdie = ">= 1.2.6 and < 2.0.0"