Commit graph

2989 commits

Author SHA1 Message Date
Richard Feldman
3d8076dfe8 Trim trailing spaces 2020-05-09 09:46:24 -04:00
Richard Feldman
8fbfae5e62 Expand some docs 2020-05-09 09:46:24 -04:00
Richard Feldman
41af22a2ac
Merge pull request #352 from rtfeldman/float_abs
float abs test and num abs generally
2020-05-08 22:28:09 -04:00
Chad Stearns
7331e55a25 Cargo fmt 2020-05-08 04:07:07 -04:00
Chad Stearns
8e8412bf94 FLOAT_ABS test, and NUM_ABS generally, but not implemented 2020-05-08 00:49:08 -04:00
Richard Feldman
be5641e35a
Merge pull request #351 from rtfeldman/triangle
Render a triangle in the editor
2020-05-06 21:00:51 -04:00
Richard Feldman
0c9b895912 Render a triangle
Largely following https://github.com/mistodon/gfx-hal-tutorials - code
is CC0 licensed. Lovely tutorials!
2020-05-05 22:07:23 -04:00
Richard Feldman
05e13e9842 Precursor to triangle in editor 2020-05-05 21:40:14 -04:00
Richard Feldman
931910532b
Merge pull request #350 from rtfeldman/launch-editor
Launch editor
2020-05-05 18:58:11 -04:00
Richard Feldman
42b4e5acf6 Add fun emoji 2020-05-05 18:34:36 -04:00
Richard Feldman
d7ee713bc5 Have the editor theoretically take filepaths 2020-05-04 21:41:45 -04:00
Richard Feldman
f0b65a25e2 Launch a blank window for the editor 2020-05-04 21:41:45 -04:00
Richard Feldman
6556306e25
Merge pull request #349 from rtfeldman/env-refactor
Have mono::expr::Env use IdentIds::gen_unique
2020-05-04 21:41:36 -04:00
Richard Feldman
7e7c6ef4af Drop obsolete symbol_counter field 2020-05-04 20:32:21 -04:00
Richard Feldman
2904f29c36 Have mono::expr::Env use IdentIds::gen_unique 2020-05-04 20:29:36 -04:00
Richard Feldman
4b284fdca0
Merge pull request #348 from rtfeldman/editor
editor placeholder
2020-05-03 22:39:01 -04:00
Richard Feldman
b0e2134121 Launch editor when given no CLI args 2020-05-03 22:04:28 -04:00
Richard Feldman
50357acd55 Add editor/ crate 2020-05-03 21:38:36 -04:00
Richard Feldman
ce9e7a91f6 Clean up some Cargo.toml files 2020-05-03 21:37:59 -04:00
Richard Feldman
bea4bd8f11
Merge pull request #346 from rtfeldman/fix-parsing-bug
Fix parser bug with newline after '=' in def
2020-05-03 09:14:02 -04:00
Richard Feldman
56cc7c013f Drop obsolete dbg! 2020-05-03 08:51:11 -04:00
Richard Feldman
ff953021d5 Fix parser bug with newline after '=' in def
Fixes #51
2020-05-03 08:50:55 -04:00
Richard Feldman
c856314e13 Reproduce parser bug with newline after '=' in def
See #51
2020-05-03 08:50:32 -04:00
Richard Feldman
20648958eb Revise some future fmt tests 2020-05-03 08:50:21 -04:00
Richard Feldman
2eea57a51a Add some more detail to a todo 2020-05-02 22:19:29 -04:00
Richard Feldman
e3ec087657
Merge pull request #339 from rtfeldman/mono-module
code gen top-level module declarations
2020-05-01 22:24:46 -04:00
Richard Feldman
13dd937a71 Revert "Attempt to add builtin_defs to CLI"
This reverts commit 2679077de9.
2020-05-01 22:00:06 -04:00
Richard Feldman
2679077de9 Attempt to add builtin_defs to CLI 2020-05-01 21:59:38 -04:00
Richard Feldman
101dc80ae5 Move parse::operator into module::operator 2020-05-01 21:58:53 -04:00
Richard Feldman
f47d96e1a4 Update a comment 2020-05-01 21:56:44 -04:00
Richard Feldman
095844c2c1 Use iterator chaining over hash insertion 2020-05-01 19:40:59 -04:00
Richard Feldman
5f33073703 fix tests 2020-05-01 19:30:55 -04:00
Richard Feldman
ee31eac0c5 Code gen toplevel module functions 2020-05-01 19:30:55 -04:00
Richard Feldman
1a2367c8aa appease clippy 2020-05-01 19:30:55 -04:00
Richard Feldman
5c31369072 Code gen thunks for top-level module decls 2020-05-01 19:30:55 -04:00
Richard Feldman
072cf4e844 Revert "wip canonical builtins in modules"
This reverts commit e1935a1e9f0c7ea1ffefe5f2f4f07f2c7666363b.
2020-05-01 19:30:55 -04:00
Richard Feldman
a1750567ff wip canonical builtins in modules 2020-05-01 19:30:55 -04:00
Richard Feldman
dd3dc45b7a
Merge pull request #343 from rtfeldman/int-ne
Integer Not Equals
2020-05-01 19:13:16 -04:00
Richard Feldman
a70f6cfdb0
Merge branch 'trunk' into int-ne 2020-05-01 18:43:15 -04:00
Richard Feldman
b39c535c94
Merge pull request #342 from rtfeldman/div-by-zero-test
Commented in DivByZero test
2020-05-01 18:43:05 -04:00
Chad Stearns
d1b00633be INT NEQ for i1 and i8 integer types 2020-05-01 17:29:43 -04:00
Chad Stearns
4b5f7bfded Changed Int div implementation to use != 2020-05-01 17:29:12 -04:00
Chad Stearns
6b6e6f0eec Changed Int div implementation to use != 2020-05-01 17:17:41 -04:00
Chad Stearns
71258e0e59 Implemented INT_NE_i64 2020-05-01 16:31:19 -04:00
Chad Stearns
51d6530a7f Commented in DivByZero test 2020-05-01 01:52:15 -04:00
Richard Feldman
8befd12355
Merge pull request #338 from rtfeldman/int-div-result
Gen Int division with result return type
2020-04-29 21:09:10 -04:00
Chad Stearns
0518ccc991 Remove INT_DIV from std.rs 2020-04-29 18:22:25 -04:00
Chad Stearns
516f5736c2 Merging in remote trunk 2020-04-29 18:01:55 -04:00
Chad Stearns
9107880928 Implemented generated built in int division, with the return type as a result 2020-04-29 17:36:02 -04:00
Richard Feldman
916b1b291e
Merge pull request #337 from rtfeldman/list-get
List.get and quicksort test!!!!!!!!
2020-04-29 07:34:37 -04:00