about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 3137Kartik K. Agaram2016-07-224-2/+38
| | | | | | | | | | | | | | | | | | Complicated logic to not run core tests. I only want to disable core tests if: a) I'm changing CFLAGS on the commandline (usually to disable optimizations, causing tests to run slower in a debug cycle) b) I'm not printing a help message (either with just 'mu' or 'mu --help') c) I'm loading other files besides just the core. Under these circumstances I only want to run tests in the files explicitly loaded at the commandline. This is all pretty hairy, in spite of my attempts to document it in four different places. I might end up taking it all out the first time I need to run core tests under all these conditions.
* 3136Kartik K. Agaram2016-07-221-2/+0
|
* 3135Kartik K. Agaram2016-07-221-5/+14
| | | | Parsing pairs of atoms.
* 3134Kartik K. Agaram2016-07-221-1/+1
|
* 3133Kartik K. Agaram2016-07-221-1/+1
| | | | Don't die if an instruction accidentally has too many products.
* 3132Kartik K. Agaram2016-07-221-21/+19
|
* 3131Kartik K. Agaram2016-07-222-4/+55
| | | | | Reorganize parser to make room for parsing pairs. But first test for pairs is still failing.
* 3130Kartik K. Agaram2016-07-221-3/+20
| | | | Handle multi-character atoms.
* 3129Kartik K. Agaram2016-07-222-0/+39
| | | | Degenerate 'parser' that handles just atoms of one character.
* 3128Kartik K. Agaram2016-07-221-1/+2
|
* 3127Kartik K. Agaram2016-07-221-0/+43
|
* 3126Kartik K. Agaram2016-07-224-16/+3
|
* 3125Kartik K. Agaram2016-07-221-3/+19
|
* 3124Kartik K. Agaram2016-07-222-22/+28
| | | | | Reorganize data structure for lambda cells. Create our first real unit test for the compiler in the process.
* 3123Kartik K. Agaram2016-07-221-5/+16
| | | | | | Bugfix: permit dummy product when trying to convert exclusive containers. The 'status' product is still required, however. Without it there's no point to calling 'maybe-convert'.
* 3122Kartik K. Agaram2016-07-221-16/+4
| | | | More accurate count of failing tests.
* 3121 - very preliminary spike on a compilerKartik K. Agaram2016-07-221-0/+60
| | | | | Nothing runs yet. Just spewing out code at this point, as a kind of sketching.
* 3120Kartik K. Agaram2016-07-2132-125/+130
| | | | | | | | Always show instruction before any transforms in error messages. This is likely going to make some errors unclear because they *need* to show the original instruction. But if we don't have tests for those situations did they ever really work?
* 3119Kartik K. Agaram2016-07-213-2/+50
| | | | | | | Warn if 'put' or 'put-index' has a mismatch in the type of the product, not just the name. It won't do any harm, but could be misleading to a later reader. In both instructions, the product is just for documentation.
* 3118Kartik K. Agaram2016-07-211-2/+2
| | | | | Failures in scenarios should consistently trigger the summary message showing number of failed tests.
* 3117Kartik K. Agaram2016-07-2020-37/+199
|
* 3116Kartik K. Agaram2016-07-201-1/+1
|
* 3115Kartik K. Agaram2016-07-201-10/+10
| | | | Fix CI.
* 3114Kartik K. Agaram2016-07-201-2/+8
| | | | Better error messages on missing traces in Mu scenarios.
* 3113Kartik K. Agaram2016-07-201-0/+1
| | | | | $dump-trace had stopped working with an explicit layer. Thanks Jack and Ella Couch.
* 3112Stephen Malina2016-07-171-4/+8
| | | | | Fix routine instruction count assignment to handle multi-slice scheduled routines in the sandbox.
* 3111Stephen Malina2016-07-143-8/+16
| | | | | Show number of instructions in the editor when a user clicks on a run instruction in the sandbox.
* 3110 - better support static arrays in containersKartik K. Agaram2016-07-112-2/+21
|
* 3109 - new 'not-equal' instructionKartik K. Agaram2016-07-111-0/+54
| | | | | This was long overdue. Thanks Jack, Ella and Caleb Couch for repeatedly asking for it.
* 3108Kartik K. Agaram2016-07-1010-11/+12
|
* 3107 - just always support small VPS serversKartik K. Agaram2016-07-101-0/+2
| | | | | In experiments on my laptop it seems to compile a little faster and run slightly slower. Both might be in the noise.
* 3106Kartik K. Agaram2016-07-061-9/+10
| | | | | | Minor tweaks to 3105, primarily using more distinctive locations in the unit test. 1, 2 and 3 can mean so many different things, they don't catch the eye as much.
* Merge pull request #5 from krazemon/number-of-instructionsKartik Agaram2016-07-062-1/+54
|\ | | | | 3105
| * 3105Stephen Malina2016-07-062-1/+54
|/ | | | Add number-of-instructions recipe to Mu
* 3104Kartik K. Agaram2016-07-061-3/+18
|
* 3103Kartik K. Agaram2016-07-051-24/+20
|
* 3102Kartik K. Agaram2016-07-0555-520/+1762
|
* 3101 - purge .traces/ dir from repo historyKartik K. Agaram2016-07-0513-50/+17
| | | | | | | | | | | | | | | | | | | | | I'd been toying with this idea for some time now given how large the repo had been growing. The final straw was noticing that people cloning the repo were having to wait *5 minutes*! That's not good, particularly for a project with 'tiny' in its description. After purging .traces/ clone time drops to 7 seconds in my tests. Major issue: some commits refer to .traces/ but don't really change anything there. That could get confusing :/ Minor issues: a) I've linked inside commits on GitHub like a half-dozen times online or over email. Those links are now liable to eventually break. (I seem to recall GitHub keeps them around as long as they get used at least once every 60 days, or something like that.) b) Numbering of commits is messed up because some commits only had changes to the .traces/ sub-directory.
* 3100Kartik K. Agaram2016-07-041-0/+1
|
* 3099Kartik K. Agaram2016-07-041-1/+3
|
* 3098Kartik K. Agaram2016-07-031-1/+1
|
* 3097Kartik K. Agaram2016-07-031-2/+2
|
* 3096Kartik K. Agaram2016-07-031-0/+1
|
* 3095 - start type-checking 'deep-copy' instructionsKartik K. Agaram2016-07-031-0/+8
|
* 3094 - start using deep-copy when writing channelsKartik K. Agaram2016-07-032-7/+16
|
* 3093Kartik K. Agaram2016-07-031-8/+44
| | | | | | | Another bug, this time in cycle detection, which had been present from the start but hadn't actually been tested until now. Turns out it had two bugs, one with the map not being passed into a recursive call, and a more subtle one: I wasn't actually saving the right input address.
* 3092Kartik K. Agaram2016-07-031-52/+25
|
* 3091Kartik K. Agaram2016-07-031-1/+50
|
* 3090Kartik K. Agaram2016-07-031-5/+4
|
* 3089Kartik K. Agaram2016-07-031-14/+2
|