소스 검색

Update compilation instructions.

master
Ian Piumarta 3 년 전
부모
커밋
a6c2062fc7
1개의 변경된 파일10개의 추가작업 그리고 4개의 파일을 삭제
  1. +10
    -4
      ccmeta.leg

+ 10
- 4
ccmeta.leg 파일 보기

@ -1,9 +1,15 @@
%{
# ccmeta.leg -- metalanguage for C
#
# Copyright (c) 2016-2021 Ian Piumarta and other contributors (see AUTHORS)
# All rights reserved (see LICENSE)
#
# Last edited: 2021-07-06 16:09:02 by piumarta on DESKTOP-LTPREOB
/* compile: leg -o parse.c parse.leg
* cc -o parse parse.c
%{
/* compile: leg -o ccmeta.c ccmeta.leg
* cc -o ccmeta ccmeta.c -lgc -lm
*
* run: echo "3+4" | ./parse
* run: ./ccmeta < ccmeta-test.txt
*/
#include <stdarg.h>

불러오는 중...
취소
저장