Commit Graph

186 Commits

Author SHA1 Message Date
static
52d2c2bfee HW2 (4)
examples/c 디렉터리 아래에 있는 예제 모두 통과하는 상태
2025-04-08 06:08:29 +00:00
static
95c43b1d44 HW2 (3)
examples/c/array.c ~ array4.c까지 통과하는 상태
2025-04-08 01:02:45 +00:00
static
2ddac9c20c Merge remote-tracking branch 'upstream/main' 2025-04-08 00:04:44 +00:00
Jaewoo Kim
32283f2ed1 Update model solution.
- Stop calculating operands for & operators.
- Evaluate the lhs of compound operators only once.
- Add `side-effect.c` example.
2025-04-07 11:03:18 +00:00
static
2dafbaba70 HW2 (2)
grade-irgen-small.sh 스크립트 통과
2025-04-07 02:23:35 +00:00
static
b1de106aeb HW2 (1)
grade-irgen-small.sh 스크립트에서 switch.c 예제까지 통과하는 상태
2025-04-06 13:10:36 +00:00
static
88f6f9471b HW1 (3)
코드 정리
2025-03-11 09:06:37 +00:00
static
2e238b1163 HW1 (2)
UnaryOperatorExpression에도 괄호를 무조건 치도록 수정
2025-03-11 08:24:50 +00:00
static
873987829f HW1 (1)
examples/c 디렉터리 아래에 있는 예제에 대해 통과하는 상태
2025-03-11 07:28:02 +00:00
Janggun Lee
7a95032d43 Fix typo 2025-02-27 14:14:04 +09:00
Janggun Lee
9cb88d1fe9 Move install_csmith into a separate script 2025-02-27 14:13:05 +09:00
Janggun Lee
a1655246c9 Cleanup some formatting code, add tips 2025-02-27 12:54:15 +09:00
Janggun Lee
6f18d77861 Remove some deadcode and tqdm 2025-02-26 20:20:54 +09:00
Janggun Lee
0b01588b6d Fix testing code 2025-02-25 16:20:11 +09:00
Janggun Lee
7047e17e10 Fix typo 2025-02-25 00:31:25 +09:00
Janggun Lee
72dadc608d Various quality-of-life improvements (ideas from @33577 )
* Very basic `hello_main.c`
* Big starting hint to `write_c`
* Better error messages on failed test
  * TODO: also improve it for asmgen, but not sure how to do it in a good way
2025-02-25 00:28:55 +09:00
Janggun Lee
fad9d02fea Prepare for Spring 2025. 2025-02-24 17:31:17 +09:00
Janggun Lee
a8e0aa5e69 Nits 2025-02-11 16:11:31 +09:00
Janggun Lee
0758005eac Fix installation of csmith.
Co-authored-by: Mountagha <muntaghaba@gmail.com>
2025-02-11 16:08:28 +09:00
Janggun Lee
00c64a5297 Format and stuff 2025-01-23 19:11:43 +09:00
Janggun Lee
fcb6ca2538 Update 2025-01-06 18:45:28 +09:00
Jeehoon Kang
021f2cd240 Bump 2024-05-08 03:39:32 +00:00
Jeehoon Kang
099672d0b8 Bump 2024-05-08 03:31:34 +00:00
Janggun Lee
c73c81c10e Document private items as well 2023-06-26 15:14:20 +09:00
Jeehoon Kang
921e498d9d Add rustdoc action 2023-06-21 02:52:45 +09:00
jungin.rhee
a02a928bf9 Update examples with new testcase 2023-03-16 20:33:22 +09:00
jungin.rhee
6401efb435 Update script comments 2023-02-28 13:36:58 +09:00
Rhee Jung In
b51e717ec3 Merge pull request #8 from m-spitfire/irviz
Fix: Optimize before visualizing IR
2023-02-28 13:17:06 +09:00
Jeehoon Kang
b299644675 Bump dependencies 2023-02-28 12:00:44 +09:00
Minseong Jang
8df80203b8 Update assertion message 2023-02-13 15:09:31 +09:00
Murad Bashirov
bf39604eff Fix: Optimize before visualizing IR
When you do
```
cargo run -- --simplify-cfg --irviz test.png test.c
```
The `kecc` first tries to visualize the IR, then apply optimizations.
This should not be intended, as right now there's no way to visualize
the IR after optimizations.
2023-01-02 17:15:09 +09:00
Janggun Lee
55ebcad347 Parse integral values, closes #289 2022-12-20 16:31:06 +09:00
Janggun Lee
c5946611a3 Bump Rust and add skeleton code for irgen. 2022-12-19 18:50:22 +09:00
Minseong Jang
6ae0e26197 Bump dependencies 2022-12-02 10:59:11 +09:00
Janggun Lee
2cd4e3a169 add struct example 2022-11-21 18:16:42 +09:00
Janggun Lee
094cbfdd2c Lots of improvements.
* Better script names and grammar fix.
* Bump Rust
* Enforce more lints.
* Improve few struct definitions by removing box.
* Many minor implementation improvements.
2022-11-21 15:27:04 +09:00
Minseong Jang
cb698a5e43 Change test method 2022-10-20 13:17:38 +09:00
Minseong Jang
f39851625a Bump dependencies 2022-10-20 13:04:11 +09:00
Minseong Jang
3f91b321a5 Bump dependencies 2022-10-14 21:17:17 +09:00
Minseong Jang
e7edf89fb3 Bump dependencies 2022-09-12 10:51:55 +09:00
Minseong Jang
6e754a19bb Update ci.yml 2022-09-12 10:46:13 +09:00
Minseong Jang
a23b474161 Update dependencies 2022-08-02 15:23:57 +09:00
Minseong Jang
fb05faa8b0 Update examples 2022-08-02 14:57:36 +09:00
Janggun Lee
88bd64e423 Add fmt to kecc IR and Assembly (#7)
* Add fmt to kecc ir structs

* Add fmt for KECC asm
2022-08-02 10:14:37 +09:00
Minseong Jang
4ff2d109ab Add GDB usage to README 2022-06-06 22:59:26 +09:00
Janggun Lee
5ab0224acc Fix clippy lints (#5) 2022-06-02 21:56:53 +09:00
Minseong Jang
d2f7b9b465 Make opt_utils public 2022-06-02 21:38:24 +09:00
Minseong Jang
531a56c0ea Update bench
Remove KECC binary when `make clean`
2022-06-02 14:45:16 +09:00
Minseong Jang
f7def26ba5 Update bench 2022-06-02 14:33:56 +09:00
Minseong Jang
c9b2725764 Update hw7 submission format 2022-06-02 13:47:56 +09:00