Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
1.1
Browse files Browse the repository at this point in the history
Added a delay in the Windows keyboard handler code
Added WORDS() and WORD$()
Added LTRIM$(), RTRIM$(), and TRIM$()
Fixed a string compare bug where strings would be compared without a sign to "0" instead of ""
Improved snake example
Small optimizations
  • Loading branch information
PQCraft committed Dec 20, 2021
1 parent 5a35a8e commit 2581c22
Show file tree
Hide file tree
Showing 8 changed files with 327 additions and 209 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ifndef CC
CC = gcc
endif

BASE_CFLAGS = --std=c99 -Wall -Wextra -Ofast -lm -lreadline -funsigned-char
BASE_CFLAGS = --std=c99 -Wall -Wextra -flto -O3 -mtune=generic -lm -lreadline -funsigned-char

ifndef OS

Expand Down Expand Up @@ -30,7 +30,7 @@ else
ifeq ($(shell uname -o), Android)
CFLAGS += -s
else
CFLAGS += -g -no-pie
CFLAGS += -s -no-pie
endif
endif

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ To build CLIBASIC with support for VT escape codes, add `vt` before the rest of
### Demo <br>
[![asciicast](https://asciinema.org/a/447773.png)](https://asciinema.org/a/447773)

---
[<img src="https://repology.org/badge/vertical-allrepos/clibasic.svg"></img>](#?)

---
### Notes <br>
- On Arch Linux, you can install CLIBASIC by installing either the [`clibasic`](https://aur.archlinux.org/packages/clibasic/) or [`clibasic-bin`](https://aur.archlinux.org/packages/clibasic-bin/) AUR package.
Expand Down
Loading

0 comments on commit 2581c22

Please sign in to comment.