Skip to content

Commit

Permalink
add version
Browse files Browse the repository at this point in the history
  • Loading branch information
0x24a committed Aug 20, 2023
1 parent df136e6 commit 034d98d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sblang2c.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import converter,sys,os,time,logging,secrets
VERSION="0.0.1-release"
class Timer:
def __init__(self) -> None:
self.stt=0
Expand Down Expand Up @@ -33,7 +34,7 @@ def end(self):
if len(args) < 2:
print(f"usage: {name} [options] [filename]")
exit(1)
print("Welcome to SBLang2C CLI!\n-| Reading File",end="",flush=True)
print(f"SBLang2C Compiler and converter v{VERSION}\n-| Reading File",end="",flush=True)
timer.start()
try:
with open(filename,"r",encoding="utf-8") as f:
Expand Down

0 comments on commit 034d98d

Please sign in to comment.