Commit Graph

61 Commits (b9b344cba658604fe1632b34447e73d3fa602391)

Author SHA1 Message Date
Daniel Kolesa b9b344cba6 remove cs_ namespace in all API 2021-03-23 23:29:32 +01:00
Daniel Kolesa b3b4624af1 drop cubescript.cc, move parsing stuff from cs_std to cs_parser 2021-03-23 22:17:25 +01:00
Daniel Kolesa 4b766a380f drop the util namespace 2021-03-23 02:02:43 +01:00
Daniel Kolesa 4b6c284ea1 separate cs_parser.cc, drop cs_util.cc 2021-03-23 02:00:23 +01:00
Daniel Kolesa 2cc1b0e271 add cs_std.cc, drop cs_util.hh 2021-03-23 01:46:56 +01:00
Daniel Kolesa 702dca0809 separate ident and error impls into their own files 2021-03-22 22:33:15 +01:00
Daniel Kolesa a591384afd use our allocator for more buffers 2021-03-21 06:13:45 +01:00
Daniel Kolesa f8eb07ee2b hide implementation details of idents 2021-03-21 02:47:02 +01:00
Daniel Kolesa 3905ff0e9d fix/clean up compileblockstr 2021-03-21 00:00:20 +01:00
Daniel Kolesa 10b2a81cec redo (un)escape_string around output iterators 2021-03-20 06:18:31 +01:00
Daniel Kolesa 5648c1a757 use string_view everywhere that returns or takes a string 2021-03-20 04:10:27 +01:00
Daniel Kolesa b81e419db6 get rid of cs_vector in most places 2021-03-19 22:49:52 +01:00
Daniel Kolesa 4e5e0f5de8 get rid of cs_string in codegen 2021-03-19 22:25:38 +01:00
Daniel Kolesa 9d0494a9da replace list_parser with a simpler api 2021-03-18 23:53:16 +01:00
Daniel Kolesa 704f9217f7 unify enum style 2021-03-18 20:55:14 +01:00
Daniel Kolesa 64130a12bf remove handling of constants from codegen, bytecode and cs_value
also drop move semantics on cs_value
2021-03-17 20:41:08 +01:00
Daniel Kolesa d12e7f67ee gcc warning fixes 2017-11-06 01:07:53 +01:00
Daniel Kolesa efdc82324e fix includes 2017-06-20 21:21:39 +02:00
Daniel Kolesa d01349886a remove slice_until 2017-06-15 20:44:09 +02:00
Daniel Kolesa f0f6dc437f fix build 2017-04-17 17:13:14 +02:00
Daniel Kolesa 73d1b142d1 fixes 2017-03-31 03:34:09 +02:00
Daniel Kolesa 6b17c4594f remove slice_until 2017-03-31 03:18:26 +02:00
Daniel Kolesa 5c2c441925 fix build 2017-02-19 16:44:16 +01:00
Daniel Kolesa e87b1b566c use appender_range directly 2017-02-18 17:28:43 +01:00
Daniel Kolesa 8343979e03 fix build after style update 2017-02-16 19:07:22 +01:00
Daniel Kolesa 41eb8b211f begin naming scheme rework 2017-02-13 18:11:19 +01:00
Daniel Kolesa fda734a868 ostd fixes 2017-02-09 21:27:57 +01:00
Daniel Kolesa 2536179500 use standard type traits 2017-02-09 20:59:14 +01:00
Daniel Kolesa 0dd69fedea remove memory.hh includes 2017-02-01 20:20:57 +01:00
Daniel Kolesa 01899074fd update for ostd 2017-01-28 23:04:10 +01:00
Daniel Kolesa 8e31583612 use uint32_t 2017-01-25 02:10:17 +01:00
Daniel Kolesa 1c5c0939e1 use size_t 2017-01-25 02:09:50 +01:00
Daniel Kolesa d14c8f8593 update to latest ostd 2017-01-25 01:57:33 +01:00
Daniel Kolesa 57478f6866 move to std::vector 2017-01-25 01:18:29 +01:00
Daniel Kolesa 79b1a031ca use new ostd features 2016-11-15 22:54:05 +01:00
Daniel Kolesa b3e31c1d25 use Size for linenum 2016-10-15 21:15:19 +02:00
Daniel Kolesa f124126b32 use str parse util for blockstrs 2016-10-12 02:05:55 +02:00
Daniel Kolesa 5fe766aaeb use the new util in parser 2016-10-11 21:23:04 +02:00
Daniel Kolesa 5d70e2c80f simplify parser error handling (and allow for wider usage of line infos) 2016-09-29 21:21:21 +02:00
Daniel Kolesa cd515a4cff expose word parsing into API and unify with parser 2016-09-29 20:57:47 +02:00
Daniel Kolesa ccf24e95f5 line breaking in strings without inserting newlines 2016-09-24 03:31:56 +02:00
Daniel Kolesa 1cdcc438cc debug fix 2016-09-23 20:18:01 +02:00
Daniel Kolesa de98b808ef allow breaking statements into multiple lines with \ 2016-09-23 20:04:29 +02:00
Daniel Kolesa 604fd4e000 proper line infos at parse time 2016-09-22 01:44:35 +02:00
Daniel Kolesa b3110c30b9 use ConstCharRange for source 2016-09-22 01:12:32 +02:00
Daniel Kolesa 5527025d5c more cleanups 2016-09-22 00:42:34 +02:00
Daniel Kolesa 9bfb599f64 fixes 2016-09-22 00:40:33 +02:00
Daniel Kolesa 73f770552c clean up parser a bit 2016-09-22 00:36:21 +02:00
Daniel Kolesa 33c6479539 move ListParser utils out of the way 2016-09-21 21:02:13 +02:00
Daniel Kolesa 918ca216a3 recursive parseword 2016-09-21 20:48:56 +02:00