rename to pikaByteCodeGen.exe

This commit is contained in:
pikastech 2021-11-28 22:27:24 +08:00
parent 87ed7ce760
commit 6e81fb1b3d
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.0.0)
project(pikaBitCodeCompiler VERSION 0.1.0)
project(pikaByteCodeGen VERSION 0.1.0)
include(CTest)
enable_testing()
@ -7,7 +7,7 @@ enable_testing()
aux_source_directory(pikascript/pikascript-core pikascript-core)
include_directories(pikascript/pikascript-core)
add_executable(pikaBitCodeCompiler main.c
add_executable(pikaByteCodeGen main.c
${pikascript-core}
)

View File

@ -69,11 +69,11 @@ void main() {
pyText[fsize] = 0;
Args* buffs = New_strBuff();
char* pikaBitCode = Parser_multiLineToAsm(buffs, pyText);
char* pika_byte_code = Parser_multiLineToAsm(buffs, pyText);
FILE* file_bitCode = fopen("pikaBitCode.txt", "w");
fputs(pikaBitCode, file_bitCode);
printf("[ OK ]: write file to 'pikaBitCode.txt'. \r\n");
FILE* file_byte_code = fopen("pikaByteCode.txt", "w");
fputs(pika_byte_code, file_byte_code);
printf("[ OK ]: write file to 'pikaByteCode.txt'. \r\n");
return;
}

Binary file not shown.