fix importing error and add readme

This commit is contained in:
Tan, Kian-ting 2021-06-19 18:29:07 +08:00
parent dc1144c8f6
commit 366dfcecd7
5 changed files with 20 additions and 11 deletions

View file

@ -1,4 +1,13 @@
# Clochur # Clochur
A Scheme-like typesetting LISP editor that using SILE typesetting Engine. A Scheme-like typesetting LISP interpreter and editor that using SILE typesetting Engine.
彩虹模式上色https://gist.github.com/Yoxem/d0dd68161185947416773edd93b96344 == Packaging ==
To make a wheel package, run:
python setup.py bdist_wheel
and then:
cd dist
pip3 install Clochur-x.y.z-py3-none-any.whl

View file

@ -4,7 +4,7 @@
import re import re
from PyQt5.Qsci import QsciLexerCustom, QsciScintilla from PyQt5.Qsci import QsciLexerCustom, QsciScintilla
from PyQt5.QtGui import * from PyQt5.QtGui import *
from Parser import Parser from Editor.Parser import Parser

View file

@ -4,7 +4,7 @@
from PyQt5.QtGui import * from PyQt5.QtGui import *
from PyQt5.Qsci import QsciScintilla from PyQt5.Qsci import QsciScintilla
from ClochurLexer import ClochurLexer from Editor.ClochurLexer import ClochurLexer
class CustomQsciEditor(QsciScintilla): class CustomQsciEditor(QsciScintilla):
def __init__(self, parent=None): def __init__(self, parent=None):

View file

@ -2,7 +2,7 @@
import re import re
import xml.etree.ElementTree as ET import xml.etree.ElementTree as ET
from Parser import Parser from Editor.Parser import Parser
''' '''
macro expansion for example: macro expansion for example:

View file

@ -14,13 +14,13 @@ from PyQt5 import QtWebEngineWidgets
from PyQt5.QtWidgets import * from PyQt5.QtWidgets import *
from PyQt5.Qsci import QsciScintilla from PyQt5.Qsci import QsciScintilla
import qrc_resources from Editor import qrc_resources
import __about__ from Editor import __about__
import FindReplace from Editor import FindReplace
from Interpreter import Interpreter, Lambda from Editor.Interpreter import Interpreter, Lambda
import CustomQsciEditor from Editor import CustomQsciEditor
from Parser import Parser from Editor.Parser import Parser
sile_command = 'sile' sile_command = 'sile'