qy - alt-python same as alt-js
qy [
-x] [
-o outfile] [
infile/
stdin]
 
qy [
-hHVsS]
 
 --- src.qy
 def f(){
 if(1==1){print(10)}
 }
 
 ~$ qy src.qy	#..or: cat src.qy | qy
 #>> def f():
 		pass
 		if 1==1:
 			print(10)
 		pass
 	pass
 --- support-syntax info
 ~$ qy -s | qy
 #>> output sample code
  - -hHV
- usage, version
  - -s
- output sample code
  - -S
- output detail sample code
  - -x
- output with debug mode
  - -o file
- output dist (dfl:stdout)
qy is transpiler(==text conv) for c-lang style programmer.
 
you can write python code with c-syntax.
 
- for(){}, if(){} >>> indent code
- &&, || >>> 'and' 'or' etc
- /*...*/  >>> """..."""
- and other word/syntax conv
- ignore(fall-through) other syntax == allow mix python raw code
 
currently supports only a few syntax. you can add your own rule with editing
  qy(posix-sh) directly.
 
	(add 'try-except' blockcode)
	~$ your_editor $(which qy)
	MY_TERM <- ":=" {_0 = "="}	>>>  "eq" { _0 = "=" }
 
see 'ped -h' help about peg-grammer. you can also use cpp. see 'qy -s' sample.
suc/fail == 0/not0
Python's grammar is inconsistent, and the API is changed with an idea, without
  any glance. I created 'qy' to save the conscience of those who need to handle
  Python.
c compiler(posix-2001+), posix-shell
Copyright (C) 2022 Momi-g, AGPLv3+
2022-09-29 v1.0.4 (2022-09-27 v1.0.0)
-