-
Notifications
You must be signed in to change notification settings - Fork 0
/
coz.red
42 lines (39 loc) · 1.02 KB
/
coz.red
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Red [
title: "Coz"
author: "Abdullah Yiğiterol"
version: 0.4.0
]
#include %red-common/search.red
#include %veri.red
#include %malzeme.red
#include %tarama/tara.red
ilk_g: system/options/args/1
either ilk_g [
either ilk_g = "test" [
tara_test read %test.coz
][
tara read %coz.coz
dosya: read/lines rejoin[%./ system/options/args/1]
foreach d dosya [
tara d
]
]
][
tara read %coz.coz false
prin " Coz " print coz/versiyon print "^[[0;34m 2018-2023" print ""
coz/SATIR: 0
while [0 = 0] [
either (to string! system/build/config/os) = "Linux" [
tara ask rejoin ["^[[0;33m" ">> " "^[[0m"]
][
prin rejoin ["^[[0;33m" ">> " "^[[0m"]
tara ask ""
]
prin "^[[3;36m^[[2m= " probe coz/sonbellek/1
;probe coz/sonbellek
;probe coz/ortac
;probe coz/durak
;prin "^[[0;36msatır: ^[[0m" print coz/SATIR
;prin "^[[0;36mlimit: ^[[0m" print coz/limit
]
]