2026-05-26 16:59:39 +10:00
|
|
|
#include "../Headers/scc_core.h"
|
|
|
|
|
|
|
|
|
|
bool scc_translate_to_file(scc_options *options, scc_rules *rules, FILE *output_file){
|
2026-05-26 19:21:36 +10:00
|
|
|
if (!options || !rules || !output_file) return false;
|
|
|
|
|
if (options->target_language == c_language) {
|
|
|
|
|
return scc_translate_to_file_c(options, rules, output_file);
|
|
|
|
|
} else if (options->target_language == csharp) {
|
|
|
|
|
return scc_translate_to_file_csharp(options, rules, output_file);
|
|
|
|
|
}
|
2026-05-26 16:59:39 +10:00
|
|
|
return false;
|
|
|
|
|
}
|