Compare commits
No commits in common. "721b556647524199cdb8452a5ac376695ecfa322" and "c692ebef670ffe4815547a487d822822c362ee0e" have entirely different histories.
721b556647
...
c692ebef67
16
Makefile
16
Makefile
@ -1,16 +0,0 @@
|
|||||||
CC = cc
|
|
||||||
RM = rm -f
|
|
||||||
TARGETS = bin/blang
|
|
||||||
|
|
||||||
all: $(TARGETS)
|
|
||||||
|
|
||||||
clean:
|
|
||||||
$(RM) $(TARGETS)
|
|
||||||
|
|
||||||
bin:
|
|
||||||
mkdir -p bin
|
|
||||||
|
|
||||||
bin/blang: bin src/*.c
|
|
||||||
$(CC) $(CFLAGS) -o $@ src/*.c
|
|
||||||
|
|
||||||
.PHONY: all clean
|
|
@ -27,8 +27,8 @@ int main(){
|
|||||||
case '$': stack = state; state = (char *)*_stack; break;
|
case '$': stack = state; state = (char *)*_stack; break;
|
||||||
case '%': *stack = (char)state; break;
|
case '%': *stack = (char)state; break;
|
||||||
case '^': state = (char *)0; break;
|
case '^': state = (char *)0; break;
|
||||||
case '+': ++state; break;
|
case '+': ++(char)state; break;
|
||||||
case '-': --state; break;
|
case '-': --(char)state; break;
|
||||||
case '>': putchar((char)state); break;
|
case '>': putchar((char)state); break;
|
||||||
case '<': get = 1; break;
|
case '<': get = 1; break;
|
||||||
case ':':
|
case ':':
|
Loading…
Reference in New Issue
Block a user