Write invariant tests for desugaring

This commit is contained in:
2024-10-26 15:38:48 +01:00
parent 2bcdfbcd61
commit 9494c08f36
5 changed files with 189 additions and 1 deletions

12
lib/desugar.c Normal file
View File

@@ -0,0 +1,12 @@
/*
* Copyright (c) Camden Dixie O'Brien
* SPDX-License-Identifier: AGPL-3.0-only
*/
#include "desugar.h"
#include <stdlib.h>
void desugar_regex(parse_tree_t *regex)
{
}

13
lib/desugar.h Normal file
View File

@@ -0,0 +1,13 @@
/*
* Copyright (c) Camden Dixie O'Brien
* SPDX-License-Identifier: AGPL-3.0-only
*/
#ifndef DESUGAR_H
#define DESUGAR_H
#include "parse.h"
void desugar_regex(parse_tree_t *regex);
#endif