Commit graph

25 commits

Author SHA1 Message Date
Gwilym Kuiper aa32be1a27 Move parsing 1 level up 2021-07-22 19:04:30 +01:00
Gwilym Kuiper d7a24d9659 Start switching to the quote crate for generating the code 2021-07-22 19:03:49 +01:00
Gwilym Kuiper 19e0a0527b Use syn crate rather than litrs 2021-07-22 18:43:27 +01:00
Gwilym Kuiper 061b8be368 Run rustfmt 2021-07-21 22:46:22 +01:00
Gwilym Kuiper bc46764e2f Fix clippy linter errors 2021-07-21 22:19:28 +01:00
Gwilym Kuiper 8713f514be Switch to a proc macro for generating the image data 2021-07-21 22:07:29 +01:00
Gwilym Kuiper 47c5c0f86e Extract variable for output_variable_name 2021-07-21 21:01:24 +01:00
Gwilym Kuiper 53952d8e34 Add support for reading config data from a toml file 2021-07-21 20:59:25 +01:00
Gwilym Kuiper 383c5454ea Start work for new proc macro by generating a TileData 2021-07-21 20:27:04 +01:00
Gwilym Kuiper 7c02a8570f Fixup cli 2021-06-05 18:00:38 +01:00
Gwilym Kuiper 4516c8dfc0 Pass through a crate prefix 2021-06-05 17:47:13 +01:00
Gwilym Kuiper c6b1c4b824 Refactor to use a builder pattern 2021-06-05 17:45:21 +01:00
Gwilym Kuiper 8575f7d3d6 No need to put static 2021-04-20 23:04:32 +01:00
Gwilym Kuiper 5234c7181e Fix all the clippy lints 2021-04-20 22:56:47 +01:00
Gwilym Kuiper 62e0c346c5 End-to-end logo working 2021-04-20 22:52:23 +01:00
Gwilym Kuiper b4c3bd7356 Don't generate if source hasn't been modified 2021-04-20 21:07:57 +01:00
Gwilym Kuiper d1412fb709 Actually write to a file and also include palette assignments 2021-04-20 20:51:49 +01:00
Gwilym Kuiper 4daafdec20 Actually output some rust code 2021-04-20 20:41:41 +01:00
Gwilym Kuiper 4728f22806 Name crate correctly and add a simple test program 2021-04-20 00:58:03 +01:00
Gwilym Kuiper f92daa3fc3 Improve debug output 2021-04-20 00:57:47 +01:00
Gwilym Kuiper beff079880 Don't try to check the same colour repeatedly 2021-04-20 00:57:26 +01:00
Gwilym Kuiper 0fe4e23758 Add palette optimisation 2021-04-20 00:40:07 +01:00
Gwilym Kuiper 725543912a Add image loading 2021-04-19 23:15:03 +01:00
Gwilym Kuiper c8d0f82c34 Actually make a library and start sketching out the interface 2021-04-19 23:01:28 +01:00
Gwilym Kuiper 58d6876e17 Add hello world program 2021-04-19 22:51:41 +01:00