It has been some time since I gave an update on fred . I've been slowly working towards the future project system. A big piece of a project system involves navigation whenever there's an error in your code. With the latest version of fred, I provide an error matching system for the command line-runner! The system lets you click on line numbers in files and then jumps to that line with a help snipped of the diagnostic to accompany it.
It's not enough to provide some builtin matchers. For now, I have matchers for MSVC, clang, and gcc diagnostics. But I took fred a step further. Due to the plugin system in fred, I can give users a way to provide their own error matchers at runtime. Here's an example of an error matcher for python diagnostics. All you do is:
#include "../fred-plugins/error-matchers/python.c" DEF_SMCLI_OUTPUT_MATCHER_HOOK() { smcli_output_matcher_python(ctx, result, output); }
And you have diags for Python matched!