This question is asking for me to "Find the 3rd degree Maclaurin polynomial" of a function. I'm a bit confused, from what I can tell you have to specify a specific point to center the polynomial around?
@ASCII-only usually it's really easy, but I had a bout with some ancient software that generated reports in CSV, except that multiple values in the tables were strings that had commas in them. With 200k lines across 50 files, it turned ugly, though it could have been worse
@ASCII-only I should probably get that done some day, but with it being a side project, and the compilation of all files and running them in a separate process to ensure that the testing environment isn't tampered with by the unit test code, things got too bothersome
@ASCII-only I just took my quick reference sheet and turned it into an explanation generator, it was like 10 minutes of work. But I just got lucky that I had structured my reference sheet that way to begin with.
@ASCII-only I have had unexpected behavior when external scripts have altered the code page for my language, breaking everything. I don't really have a good structure as it is my first (and only) language, but I've had really fun with it. You can check out the compilation function to get an idea of why coverage would be harder than usual to get working
@ASCII-only since I have a compilation step in between, as long as the input can be parsed by python, I can get a file of bytes containing the correct bytes.
@ASCII-only Yeah you're probably right... Looking through this I see a lot of sloppy coding. One of these days (before the heat-death of the universe) I hope to get around to refactoring MathGolf
Then I actually got everything working quite nicely, with separation of operators by how many arguments they consumed from the stack, and turned the 256 cases to 3 cases and polymorphism (kind of)
@ASCII-only It's a work in progress, but yes, dictionaries of functions is the approach I've used for refactoring so far, and it's probably the way I'll keep going.
you literally have no idea what's happening because different parts are in different files :/. plus, most of the logic is in the Canvas class (not to be confused with dzaima's Canvas)
@dzaima ok. real reason was mostly i was bored at the time :/
@maxb i'm not much better, i've used the same (self-written) parser for every single interpreter i've written (well, ones that need an interpreter)
on the plus side, that means the same ASTs. and this AST format is pretty nice
@Fatalize The challenge is to answer the cmc with a message that (visually) has the exact four characters from the code block below, but as inline code.
@EriktheOutgolfer OK, so now we can make a clear rule for when TIO's CMC-answerfier should give up: When a line of code has both a leading ` and a trailing \
@Adám ┴¿Å'|{0<ÿ-><-2/§ not a good challenge for MathGolf, I really need a "is negative?" operator or something similar. By the way, what does CMC stand for?
See also Stack Exchange Glossary - Dictionary of Commonly-Used Terms.
Abbreviations marked with a star (*) are chat specific.
Catalog: A type of simple on-topic challenge where the challenge's aim not so much to find a winner as it is to create a catalog of solutions in many languages.
CG: Cod...
@J.Sallé I have still to put in the effort of making a good dark scheme for my self. The default was decent, so I just added the backgrounds to suit my needs (and made a couple of other enhancements too).
@Adám oh hm i guess those would be problematic. Though for idioms, I don't think there'd be any where both underlined & regular versions are idioms in the same expression
this is mine gotten from the about screen, no idea where'd you put it though: https://tio.run/##TVFNb4MwDP0rVriiKVBoAYlLbztPPY0d8klRCXQJdFqn/XYWB7otvrz4PdsvjmDDjbllIWLsx9m@iLMyypGKvH41ZGBGNaRqiLyzzrCGxA2ZULAmmb2ElJs@e@VCjrl2qHVbaU1BjAYhj59BzLbmoooExQCphxQpxTPEO8TiUCLOApZBkyOO@H4nJMM7XtmBg@yYeQxR1gZIaczbsaJPeXyMT7CKqRe0/cjrI3TS1CdPYceCYsDlIzRkKfS89@RWD/0wr8bLLOQSMKOseVslmyTNwUziXD8GeirKKEZ8hGG0oTqSFCOQSeaDbc227qzgMF4ThLLMPQwb0XIPTvU4jWbFryWnTId0Ae6d2w3ZXwtp8FAW1B9wUxBIpmASf7YTuPdynaa9TSeMXFekYd6wLvABt6m71v@etBbfpgl/0Ev8Rvk295A35PuNLMsP