Skip to content

Commit c1364a1

Browse files
committed
Convert using cmake
1 parent dfb04f8 commit c1364a1

25 files changed

+836
-943
lines changed

.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/Mini-Language-Compiler.iml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/encodings.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/mini-lang-compiler.iml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
cmake_minimum_required(VERSION 3.13)
2+
project(mini_lang_compiler C)
3+
4+
set(CMAKE_C_STANDARD 11)
5+
6+
add_executable(mini_lang_compiler src/cfg.c src/mesinkarakter.c src/scanner.c src/stack.c)

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ by the Library, but which is not otherwise based on the Library.
2424
Defining a subclass of a class defined by the Library is deemed a mode
2525
of using an interface provided by the Library.
2626

27-
A "Combined Work" is a work produced by combining or linking an
27+
currentToken "Combined Work" is a work produced by combining or linking an
2828
Application with the Library. The particular version of the Library
2929
with which the Combined Work was made is also called the "Linked
3030
Version".
@@ -107,7 +107,7 @@ the following:
107107
Corresponding Source.
108108

109109
1) Use a suitable shared library mechanism for linking with the
110-
Library. A suitable mechanism is one that (a) uses at run time
110+
Library. currentToken suitable mechanism is one that (a) uses at run time
111111
a copy of the Library already present on the user's computer
112112
system, and (b) will operate properly with a modified version
113113
of the Library that is interface-compatible with the Linked

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Learning to parsing and to be mini compiler for small language
77

8-
### Run executable code compiler.exe with command prompt.
8+
## Run executable code compiler.exe with command prompt.
99

1010
### Membuat input :
1111
* (edit file "program.txt")

0 commit comments

Comments
 (0)