aboutsummaryrefslogtreecommitdiff
path: root/compile.c
AgeCommit message (Collapse)Author
2024-09-04Better enum messaging for CLI arg parsingBruce Hill
2024-09-04Support parsing enums (without members)Bruce Hill
2024-09-04Unify parsing code to correctly handle parsing integers and numbers withBruce Hill
a &success boolean. Check for overflow as well.
2024-09-04Fix array CLI argumentsBruce Hill
2024-09-04Improve command line parsing (no more cords)Bruce Hill
2024-09-04Add automatic `--help` to print usageBruce Hill
2024-09-04Remove unused code path for `>> f := use ./foo.tm`Bruce Hill
2024-09-04Disallow 'use' statements that aren't top levelBruce Hill
2024-09-04Minor codegen cleanupBruce Hill
2024-09-04Implicit filename for table gettingBruce Hill
2024-09-04For arrays, use implicit filename from macroBruce Hill
2024-09-04Improve codegen by making test() even more conciseBruce Hill
2024-09-04Don't put __SOURCE_FILE__ in headerBruce Hill
2024-09-04Clean up codegen so $Foo"..." comes out as foo$Foo("...") instead ofBruce Hill
Text("...")
2024-09-03Minor codegen cleanup Texts(...)Bruce Hill
2024-09-03Improve codegen for doctests a little bit by using __SOURCE_FILE__ macroBruce Hill
and making assignments use (x = 4, &x) syntax instead of ({ x = 4; &x })
2024-09-03Fix up CLI parsingBruce Hill
2024-09-03Support literal Text("blah") for text that is constant ASCII stringsBruce Hill
2024-09-03Deprecate `Where` and change channel API to use a boolean `front` valueBruce Hill
2024-09-02Bugfix for hex escapes adjacent to hex-like charactersBruce Hill
2024-09-02Fixing string methodsBruce Hill
2024-09-02Auto promote to C String from TextBruce Hill
2024-09-02Bugfix some text replacement thingsBruce Hill
2024-09-02Fix up some integer and print statement stuffBruce Hill
2024-09-02Fix enums/structsBruce Hill
2024-09-02BugfixBruce Hill
2024-09-02Fix some stuffBruce Hill
2024-09-02Initial WIP first pastBruce Hill
2024-08-23Bugfix for say() when length is >512, and added back the `newline`Bruce Hill
optional parameter (default=yes)
2024-08-23Bugfix for parsing intsBruce Hill
2024-08-22Overhaul of import syntax. Now everything uses `use`: `use foo`, `useBruce Hill
./foo.tm`, `use <foo.h>`, `use libfoo.so`
2024-08-21Variables can no longer hold function pointers, only closure_t's. ThisBruce Hill
makes error reporting easier and prevents issues where some functions could be assigned, but not others. Also change outputs so Void returns don't show up when displaying types, now just: `func()`
2024-08-20Bugfix some copy-on-write cases for when pointers are automaticallyBruce Hill
derefenced for method calls
2024-08-20Remove unused parameter and add some docs on arraysBruce Hill
2024-08-19Add .text_content as a field on DSLs instead of a methodBruce Hill
2024-08-19Support DSL constructor working on DSL itselfBruce Hill
2024-08-19Restructure things so that DSL constructors do proper escapingBruce Hill
2024-08-19Clean up codegen for strings that are just a single interpolated valueBruce Hill
2024-08-19Support demoting int literalsBruce Hill
2024-08-19Fix some numeric precision issues with how nums are printedBruce Hill
2024-08-19Fix precision of compiled numbersBruce Hill
2024-08-19Make sure imported/used modules are initialized properlyBruce Hill
2024-08-18Update channel API to take a Where parameterBruce Hill
2024-08-18Add Channel:peek()Bruce Hill
2024-08-18Rename push/pop to give/get, since it's not stack-orderedBruce Hill
2024-08-18Add array:first(predicate:func(x:&T)->Bool)->@%T?Bruce Hill
2024-08-18Add `enum.tag` as a way to do a boolean test for whether a value has aBruce Hill
particular tag or not
2024-08-18Deprecate `#` operator in favor of .length and fix up some issuesBruce Hill
2024-08-18Added a .length field to arrays/sets/tables, added a .max_size field toBruce Hill
channels, and updated the API
2024-08-18Fix array indexingBruce Hill