Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
342 commits
Select commit Hold shift + click to select a range
8e2dc43
formatted
rdasanoor Jul 11, 2023
3b8af4d
formatted + made tabs default in prettier format config
MonkeyDoug Jul 13, 2023
25fae83
reverted change for new json interface
MonkeyDoug Jul 13, 2023
e7a5bde
formatted
MonkeyDoug Jul 13, 2023
86eaf52
added missing_case case for quickfixes and also files to ast
MonkeyDoug Aug 3, 2023
d2445b6
added utility functions
MonkeyDoug Aug 4, 2023
0fc3b72
using new util functions
MonkeyDoug Aug 4, 2023
bce3e45
changed json fields
rdasanoor Aug 5, 2023
cc10ca0
fixed utils file
rdasanoor Aug 5, 2023
102e771
changed field names for refactor
MonkeyDoug Aug 7, 2023
84a2265
missed changes
rdasanoor Aug 7, 2023
da3a290
final change
rdasanoor Aug 7, 2023
58d5e65
changed more field names
rdasanoor Aug 7, 2023
3a9bf50
implemented go to definition
rdasanoor Aug 7, 2023
9b4b7b8
fixed naming issue
rdasanoor Aug 7, 2023
b339f50
checked if error during parsing
rdasanoor Aug 9, 2023
95f9b5f
added repository
rdasanoor Aug 14, 2023
7191f14
added publisher
rdasanoor Aug 14, 2023
4a52b79
added bundler
rdasanoor Aug 14, 2023
91cc109
fixed file path
rdasanoor Aug 14, 2023
bbbda56
fixed publisher name
rdasanoor Aug 14, 2023
e524044
added extra types for clarity
rdasanoor Aug 14, 2023
2150431
added import to utils
rdasanoor Aug 14, 2023
d5e1237
moved sasylf and lib files
rdasanoor Aug 14, 2023
4e10763
small fixes
rdasanoor Aug 14, 2023
b0986eb
fixed errors
MonkeyDoug Aug 16, 2023
54de18f
formatted
MonkeyDoug Aug 16, 2023
37acf68
imported modules available in json
rdasanoor Aug 16, 2023
fff016c
added license
rdasanoor Aug 16, 2023
d47903a
makes clauses compulsory when using lsp mode and removes ordering for…
MonkeyDoug Aug 17, 2023
484fdfe
added documentation
rdasanoor Aug 18, 2023
fded450
removed repo
rdasanoor Aug 18, 2023
408a501
documentation
MonkeyDoug Aug 18, 2023
d00abd4
formatted
MonkeyDoug Aug 18, 2023
c63a4a6
license file added
rdasanoor Aug 18, 2023
0f69898
changed name
rdasanoor Aug 18, 2023
f691382
fixed publisher name
rdasanoor Aug 18, 2023
dc1dbe7
added icon
rdasanoor Aug 18, 2023
fb5fac8
does not run in command in a shell
MonkeyDoug Aug 18, 2023
81e9569
spawning command does not rely on SASyLF.jar being in current working…
MonkeyDoug Aug 21, 2023
f70b386
testing version names
rdasanoor Aug 21, 2023
5f41783
fixed version name
rdasanoor Aug 21, 2023
fc03cd0
changed name from lsp-sasylf to sasylf
MonkeyDoug Aug 21, 2023
c70bfa4
moved SASyLF.jar to the correct directory
MonkeyDoug Aug 21, 2023
1cf0da1
removed unnesscary tests directory
MonkeyDoug Aug 21, 2023
bbb50ff
basic logging functions
rdasanoor Aug 26, 2023
100d454
small changes
rdasanoor Aug 31, 2023
258e684
test
rdasanoor Sep 4, 2023
c0df280
formatted with tabs + added utils for cross module go to def
MonkeyDoug Sep 4, 2023
930678a
extract text from jar
rdasanoor Sep 4, 2023
15d96bf
new binary with asts updated with module text for opening library fil…
MonkeyDoug Sep 5, 2023
d1153d5
opens library files as virtual documents
MonkeyDoug Sep 5, 2023
2c9cc6b
added vscode-uri for uri helper functions
MonkeyDoug Sep 5, 2023
1218b68
implemented auto completion
rdasanoor Sep 5, 2023
4e86c9b
Merge branch 'feature/virtual_text' into feature/modules
MonkeyDoug Sep 6, 2023
69bd618
removed unnesscary argument for search
MonkeyDoug Sep 6, 2023
10e16f0
formatted
MonkeyDoug Sep 7, 2023
673a9f0
changed path to be based only on module path in jar + fixed race cond…
MonkeyDoug Sep 7, 2023
063f06f
fixed merge conflicts
rdasanoor Sep 8, 2023
2b22663
merged modules
rdasanoor Sep 8, 2023
ef443bd
fixed format
rdasanoor Sep 8, 2023
502a878
moved to utils
rdasanoor Sep 8, 2023
17efd6c
fixed merge conflicts
rdasanoor Sep 8, 2023
283479a
added parse errors to json output
MonkeyDoug Sep 13, 2023
19931a5
fixed race conditions
MonkeyDoug Sep 13, 2023
c9af4c9
fixed directory issue
rdasanoor Sep 13, 2023
b75535c
added timer for validating text document on content change
MonkeyDoug Sep 13, 2023
cbc06d7
version update
rdasanoor Sep 20, 2023
f697183
ignores requests to validate text document if currently validating + …
MonkeyDoug Oct 2, 2023
31236dc
added command to validate current document
MonkeyDoug Oct 2, 2023
76cafc2
contributes command
MonkeyDoug Oct 18, 2023
605a29a
initial GUI
rdasanoor Oct 20, 2023
786e8bc
initial gui implementation
rdasanoor Nov 9, 2023
6e88fa7
implements rule bank
rdasanoor Nov 15, 2023
1b1f228
updated gitignore
rdasanoor Nov 15, 2023
d088d4c
updated gitignore
rdasanoor Nov 15, 2023
cc46920
added tabs
rdasanoor Nov 16, 2023
1aa7593
tells user if pyqt6 is not installed
rdasanoor Nov 17, 2023
671af5c
electron app plus core changes
rdasanoor Dec 19, 2023
05a9a2a
switched to react
rdasanoor Dec 19, 2023
3a7709c
added bridge for dialog
MonkeyDoug Dec 19, 2023
c057c32
handled dialog
MonkeyDoug Dec 19, 2023
2b88c20
upload button
MonkeyDoug Dec 19, 2023
53b20b6
added global ast
rdasanoor Dec 20, 2023
abc3067
changed to using checkApplication for the subject term
MonkeyDoug Dec 20, 2023
df7b157
removed redundant parsing for debug and made order of flags not matte…
MonkeyDoug Dec 20, 2023
b09065b
added support for premises
MonkeyDoug Dec 21, 2023
a393abb
added functions for derivation bulder
MonkeyDoug Dec 21, 2023
f32b5d5
implemented bank
rdasanoor Dec 21, 2023
c368a55
Merge branch 'feature/bank' into feature/gui
rdasanoor Dec 21, 2023
308f2af
fixed bank style issue
rdasanoor Dec 21, 2023
b741db7
Merge branch 'refactor/derivation_builder' into feature/gui
MonkeyDoug Dec 21, 2023
4ccce87
merged upload button
MonkeyDoug Dec 21, 2023
a1915de
fixed typing errors
rdasanoor Dec 21, 2023
da73aff
small fixes
rdasanoor Dec 21, 2023
650baf6
added file menu option
rdasanoor Dec 21, 2023
a695bf1
added import file to menu
rdasanoor Dec 21, 2023
19db909
added offcanvas for rules bank
rdasanoor Dec 22, 2023
7ae39aa
passing in ast as argument to program instead of writing to file
MonkeyDoug Dec 22, 2023
14c4f08
merged changes to get ast from arguments instead of files
MonkeyDoug Dec 22, 2023
8d0085c
added input for theorem
rdasanoor Dec 22, 2023
8488d99
merge
rdasanoor Dec 22, 2023
8743e9f
removed json
rdasanoor Dec 22, 2023
4bbb7c9
changed to cl args
rdasanoor Dec 22, 2023
8a84729
added jar
MonkeyDoug Dec 22, 2023
381dbd0
file upload changes ast and reloads page
MonkeyDoug Dec 22, 2023
2453f48
merged upload changes
MonkeyDoug Dec 22, 2023
b5a573e
made droppable
rdasanoor Dec 24, 2023
ca3a236
Merge branch 'feature/dnd' into feature/gui
rdasanoor Dec 24, 2023
fc5fd52
made compUnit default null
rdasanoor Dec 24, 2023
162a23f
added canvas
MonkeyDoug Dec 24, 2023
7bd9d48
added flags for inputting premises and printing conclusions
MonkeyDoug Dec 26, 2023
98a9022
using new inputs from flags gets the conclusion from premises based o…
MonkeyDoug Dec 26, 2023
2b9c33e
finished non-recursive portion
rdasanoor Dec 26, 2023
a396abb
implemented context
rdasanoor Dec 26, 2023
9345f5e
finished initial bottom up tree
rdasanoor Dec 27, 2023
6d015a2
formatted + added support for tabs
MonkeyDoug Dec 28, 2023
fba8f68
using internal tab state managment
MonkeyDoug Dec 28, 2023
3f03566
accounts for duplicate nodes
rdasanoor Dec 28, 2023
9a6aaab
Merge branch 'feature/topdown' into feature/gui
rdasanoor Dec 28, 2023
35ec34d
added top down jar to app
rdasanoor Dec 28, 2023
4d5c643
added support for multiple instances of the same file
MonkeyDoug Dec 28, 2023
e6010a7
made new canvas using react-zoom-pan-pinch
MonkeyDoug Dec 30, 2023
acc1d30
merged tabs
MonkeyDoug Dec 30, 2023
bfa612d
merged canvas
MonkeyDoug Dec 30, 2023
e15a8b0
made close button red and positioned in the top right
MonkeyDoug Dec 30, 2023
e36dc77
handles asts passed in as arguments properly
MonkeyDoug Dec 30, 2023
33afb93
focuses most recently opened tab
MonkeyDoug Dec 31, 2023
7237d16
all duplicate files now have the same name instead of filename (1), (…
MonkeyDoug Dec 31, 2023
100e235
added export components
MonkeyDoug Jan 1, 2024
658a213
fixed styles
MonkeyDoug Jan 1, 2024
96752d3
changed to using bootstrap modal for exporting
MonkeyDoug Jan 2, 2024
8fcaaee
redid tabs
rdasanoor Jan 2, 2024
9f49b35
added input for conclusion name
rdasanoor Jan 2, 2024
7e993e7
moved arrow out of zoomable area
rdasanoor Jan 2, 2024
e03b952
centered conclusion
rdasanoor Jan 2, 2024
2342e9e
centered rule input
rdasanoor Jan 2, 2024
6d317b2
excluded certain interactive elements from panning
MonkeyDoug Jan 2, 2024
b21d5f2
full sized canvas
MonkeyDoug Jan 2, 2024
ea34bbe
fixed canvas fit issue
rdasanoor Jan 3, 2024
6dce027
make canvas infinitly pannable
MonkeyDoug Jan 3, 2024
333250e
have to fix width
rdasanoor Jan 3, 2024
3a80d12
fixed bank button
rdasanoor Jan 3, 2024
bcc438c
finished merge
rdasanoor Jan 3, 2024
0e85240
small export ui changes
rdasanoor Jan 3, 2024
93279dc
changed position of Export button
rdasanoor Jan 3, 2024
7a2c6d2
basic implementation of derivation exporting
MonkeyDoug Jan 4, 2024
a853f3c
removed react-tabs and empty premises
rdasanoor Jan 4, 2024
bcae47c
made nodes Draggable
rdasanoor Jan 5, 2024
aa2d969
added check for ruleLike Draggable
rdasanoor Jan 5, 2024
1f28414
fixed self dro
rdasanoor Jan 5, 2024
7a13603
made premises area droppable
rdasanoor Jan 5, 2024
cac67d6
finished export merge
rdasanoor Jan 5, 2024
9245fd1
fixed tab id issue
rdasanoor Jan 5, 2024
6260143
added rule class to rule divs
MonkeyDoug Jan 5, 2024
b68c37d
fixes maxId when there are no tabs
MonkeyDoug Jan 5, 2024
3360d3c
make conclusions panning excluded
MonkeyDoug Jan 5, 2024
5ed9cd5
proofRef only references the ref of the active tab
MonkeyDoug Jan 5, 2024
c789a51
modified export codoe
rdasanoor Jan 5, 2024
409b7c9
limited draggable area
rdasanoor Jan 5, 2024
376635b
fixed wrapping issue for overlay
rdasanoor Jan 5, 2024
0c01090
fixed export code
MonkeyDoug Jan 5, 2024
c12e3af
added support for user input
MonkeyDoug Jan 6, 2024
d0868b7
centered proof nodes
rdasanoor Jan 6, 2024
88c9d3e
added drag and drop guard
rdasanoor Jan 6, 2024
59d003b
made context better
rdasanoor Jan 6, 2024
3020ae8
initial implementation
rdasanoor Jan 6, 2024
37ce81e
merged in gui
rdasanoor Jan 6, 2024
c76b603
added back in root-node
rdasanoor Jan 6, 2024
6202658
added root-node
rdasanoor Jan 6, 2024
b9ddecc
finished implementation except for one bug
rdasanoor Jan 7, 2024
d3802c1
freshened premises in case user input is the same as the premises def…
MonkeyDoug Jan 8, 2024
deeae12
sketchy bug fix
rdasanoor Jan 8, 2024
4d0f52a
made invisible element not a root
rdasanoor Jan 8, 2024
34663db
full implementation
rdasanoor Jan 8, 2024
7e97d4c
added listeners to use effect to avoid new listeners on every render
MonkeyDoug Jan 8, 2024
72fea92
implemented shift hold
rdasanoor Jan 8, 2024
b977a8f
changed key to ind
rdasanoor Jan 8, 2024
0633b59
delete input if shift drag
MonkeyDoug Jan 8, 2024
7a163d4
fixed rule issue
rdasanoor Jan 8, 2024
f96575c
fixed merge conflicts for feature/copy
rdasanoor Jan 8, 2024
f2feed5
initial implementation
rdasanoor Jan 9, 2024
ed22d11
added to package.json
rdasanoor Jan 9, 2024
9d99886
added proper handling for proofs with/without free varibles and added…
MonkeyDoug Jan 9, 2024
60b6e2d
finished implementation
rdasanoor Jan 10, 2024
de68b82
added close button for premises
rdasanoor Jan 10, 2024
b469951
calculate premises from rule
rdasanoor Jan 10, 2024
6e8b29a
added shift for topdown
rdasanoor Jan 11, 2024
fe2a0be
added close button
rdasanoor Jan 11, 2024
146196e
changes margin when switching tabs
rdasanoor Jan 11, 2024
6cf3aa7
i have too much free time
rdasanoor Jan 11, 2024
31afdbc
fixed delete tab input issue
rdasanoor Jan 11, 2024
ba85e24
changed listener name
rdasanoor Jan 11, 2024
8702b01
adds ids to inputs
rdasanoor Jan 11, 2024
0692a14
fixed merge conflicts
rdasanoor Jan 11, 2024
6b18fbe
added fade for removing
rdasanoor Jan 11, 2024
013f70b
added appendInput
rdasanoor Jan 11, 2024
6a32da3
saves canvas state to stop resetting on rerenders
MonkeyDoug Jan 15, 2024
75f7eb2
fixed margin issue when closing tabs
rdasanoor Jan 15, 2024
2d4cc73
fixed close initial tab issue
rdasanoor Jan 15, 2024
48a7b1a
fixed merge conflicts
rdasanoor Jan 15, 2024
eef46ab
freshens conclusion for going top down similar to freshening premises…
MonkeyDoug Jan 16, 2024
afd8222
Merge branch 'feature/topdown-node' into feature/gui
rdasanoor Jan 16, 2024
169fe17
fixed addHandler big
rdasanoor Jan 16, 2024
4101d00
corrected jar file
rdasanoor Jan 16, 2024
9c809f4
Merge branch 'feature/bored' into feature/gui
rdasanoor Jan 16, 2024
c7c9a7a
merged export for multiple theorems
MonkeyDoug Jan 16, 2024
3f92fb4
increased premise capability for topdown node
rdasanoor Jan 17, 2024
bb0c947
basic element zoom
MonkeyDoug Jan 18, 2024
87be674
removed animations
rdasanoor Jan 18, 2024
d5d8e5b
removed test
rdasanoor Jan 26, 2024
001f932
Merge branch 'feature/topdown-node' into feature/gui
rdasanoor Jan 26, 2024
0bb99a2
fixed error
rdasanoor Feb 8, 2024
94d8440
removed dead code
rdasanoor Feb 8, 2024
b0c2661
trimmed names and added exists to all quantifiers
MonkeyDoug Feb 22, 2024
d071331
changed default value for quantifier from exists to empty strings sin…
MonkeyDoug Feb 22, 2024
766be56
added id to canvasStates when updating their position, removed right …
MonkeyDoug Feb 22, 2024
ed287d3
added basic context menu
MonkeyDoug Feb 22, 2024
c7a7b11
fixed bank size issues
rdasanoor Feb 22, 2024
61ad2e7
Merge branch 'bugfix/bank-resize' into feature/gui
rdasanoor Mar 4, 2024
913c4eb
fixed up all warnings and errors, along with cleaning up some code
rdasanoor Mar 5, 2024
d7e9597
update electron and added react dev-tools
rdasanoor Mar 5, 2024
2eb3b7b
preliminary implementation
rdasanoor Mar 9, 2024
931cb6e
preliminary substitution
rdasanoor Apr 2, 2024
e1bd46b
testing
rdasanoor Apr 17, 2024
22a2204
finished initial implementation
rdasanoor Apr 24, 2024
94e77d0
added topdown capabilities and fixed export issue
rdasanoor Apr 28, 2024
22948eb
quick fix
rdasanoor Apr 28, 2024
d052c85
fixed issue when user closes proofnode that used to topdownnode
rdasanoor Apr 28, 2024
e2f8300
finished all tab fixes
rdasanoor Apr 29, 2024
f891e50
deleted old implementations
rdasanoor Jun 8, 2024
083acc5
added unicode field to each tab
rdasanoor Jun 8, 2024
cbf92b7
finished formatting changes and deleted unneessary files
rdasanoor Jun 8, 2024
7300be4
moved static fields over to a new class
rdasanoor Jun 9, 2024
8724684
fixed printing and stream issues
rdasanoor Jun 9, 2024
35b7678
added support for unicode bank in input
MonkeyDoug Jun 13, 2024
e5a2b40
finished implementation
rdasanoor Jun 14, 2024
d86b9fa
fixed types and removed unicode from context
rdasanoor Jun 14, 2024
b6dc7cf
Merge branch 'feature/unicode' into pr
MonkeyDoug Jun 14, 2024
a10505c
initial bank resizing implementation
rdasanoor Jun 14, 2024
fc7a5ee
implemented separate main path for plugin
rdasanoor Jun 21, 2024
b11f670
implemented resizing
rdasanoor Jun 21, 2024
84fb733
Merge branch 'feature/resizable-bank' into pr
rdasanoor Jun 21, 2024
6134ae8
modified git ignore and moved over more functions
rdasanoor Jun 21, 2024
be2f2e4
update version number
MonkeyDoug Jun 24, 2024
14f510d
bug in newer version, pin to 1.7.3 for now
MonkeyDoug Jun 24, 2024
ede2985
changed extension version
MonkeyDoug Jun 24, 2024
ec4c55c
added repository field
MonkeyDoug Jun 24, 2024
8126fd0
add tasks.json for extension debugging
MonkeyDoug Jun 25, 2024
6baaf5c
install dependencies for electron app
MonkeyDoug Jun 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
215 changes: 215 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
---
Language: Java
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveAssignments:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
PadOperators: true
AlignConsecutiveBitFields:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
PadOperators: false
AlignConsecutiveDeclarations:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
PadOperators: false
AlignConsecutiveMacros:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
PadOperators: false
AlignEscapedNewlines: Right
AlignOperands: Align
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortEnumsOnASingleLine: true
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: MultiLine
AttributeMacros:
- __capability
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeConceptDeclarations: Always
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
QualifierAlignment: Leave
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: false
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
PackConstructorInitializers: BinPack
BasedOnStyle: ''
ConstructorInitializerAllOnOneLineOrOnePerLine: false
AllowAllConstructorInitializersOnNextLine: true
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IfMacros:
- KJ_IF_MAYBE
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
SortPriority: 0
CaseSensitive: false
- Regex: '.*'
Priority: 1
SortPriority: 0
CaseSensitive: false
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentAccessModifiers: false
IndentCaseLabels: false
IndentCaseBlocks: false
IndentGotoLabels: true
IndentPPDirectives: None
IndentExternBlock: AfterExternBlock
IndentRequiresClause: true
IndentWidth: 2
IndentWrappedFunctionNames: false
InsertBraces: false
InsertTrailingCommas: None
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
LambdaBodyIndentation: Signature
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakOpenParenthesis: 0
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PenaltyIndentedWhitespace: 0
PointerAlignment: Right
PPIndentWidth: -1
ReferenceAlignment: Pointer
ReflowComments: true
RemoveBracesLLVM: false
RequiresClausePosition: OwnLine
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
SortIncludes: Never
SortJavaStaticImport: Before
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterOverloadedOperator: false
AfterRequiresInClause: false
AfterRequiresInExpression: false
BeforeNonEmptyParentheses: false
SpaceAroundPointerQualifiers: Default
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: Never
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
BitFieldColonSpacing: Both
Standard: Latest
StatementAttributeLikeMacros:
- Q_EMIT
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 2
UseCRLF: false
UseTab: Always
WhitespaceSensitiveMacros:
- STRINGIZE
- PP_STRINGIZE
- BOOST_PP_STRINGIZE
- NS_SWIFT_NAME
- CF_SWIFT_NAME
...

11 changes: 11 additions & 0 deletions .project
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,15 @@
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
</natures>
<filteredResources>
<filter>
<id>1709682485116</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@ VERSION=`head -1 ChangeLog.txt | sed 's/^SASyLF version \(.*\).$$/\1/'`.v`date +

default: test

build : SHELL:=/bin/bash
build :
(cd src && cd edu && cd cmu && cd cs && cd sasylf && cd parser; javacc parser.jj)
mkdir -p bin
(cd src && javac -source 1.8 -target 1.8 -classpath ../bin:. -d ../bin edu/cmu/cs/sasylf/Main.java edu/cmu/cs/sasylf/term/UnitTests.java)
(cd src && javac -cp .:../bin:../lib/* -source 1.8 -target 1.8 -d ../bin edu/cmu/cs/sasylf/Main.java edu/cmu/cs/sasylf/VSCodeExtension.java ${TESTSRC})
jar cmf sasylf.mf SASyLF.jar ChangeLog.txt -C bin edu -C library org

TESTBIN= bin/org/sasylf/Activator.class
TESTLIB= bin/org/sasylf/util/Natural.slf
TESTSRC= edu/cmu/cs/sasylf/term/UnitTests.java \
edu/cmu/cs/sasylf/util/UnitTests.java \
edu/cmu/cs/sasylf/reduction/UnitTests.java

build-plugin : ${TESTBIN} ${TESTLIB} ChangeLog.txt
jar cmf META-INF/MANIFEST.MF org.sasylf_${VERSION}.jar plugin.xml ChangeLog.txt icons/*.gif icons/*.png -C bin .

Expand All @@ -29,6 +34,7 @@ ${TESTBIN}:
${TESTLIB}:
${MAKE} install-lib


.PHONY: install-lib
install-lib:
cp -r library/org bin/.
Expand Down
Binary file added lib/jackson-annotations-2.14.2.jar
Binary file not shown.
Binary file added lib/jackson-core-2.14.2.jar
Binary file not shown.
Binary file added lib/jackson-databind-2.14.2.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions lsp-sasylf/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules/**
client/node_modules/**
client/out/**
server/node_modules/**
server/out/**
20 changes: 20 additions & 0 deletions lsp-sasylf/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**@type {import('eslint').Linter.Config} */
// eslint-disable-next-line no-undef
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
],
rules: {
'semi': [2, "always"],
'@typescript-eslint/no-unused-vars': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/no-non-null-assertion': 0,
}
};
10 changes: 10 additions & 0 deletions lsp-sasylf/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
out
node_modules
client/server
.vscode-test
package-lock.json
app/widgets/__pycache__/
server/SASyLF.jar
electron_app/SASyLF.jar
server/lib/*.jar
electron_app/lib/*.jar
9 changes: 9 additions & 0 deletions lsp-sasylf/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp

// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"dbaeumer.vscode-eslint"
]
}
31 changes: 31 additions & 0 deletions lsp-sasylf/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// A launch configuration that compiles the extension and then opens it inside a new window
{
"version": "0.2.0",
"configurations": [
{
"type": "extensionHost",
"request": "launch",
"name": "Launch Client",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
"outFiles": ["${workspaceRoot}/client/out/**/*.js"],
"autoAttachChildProcesses": true,
"preLaunchTask": {
"type": "npm",
"script": "watch"
}
},
{
"name": "Language Server E2E Test",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceRoot}",
"--extensionTestsPath=${workspaceRoot}/client/out/test/index",
"${workspaceRoot}/client/testFixture"
],
"outFiles": ["${workspaceRoot}/client/out/test/**/*.js"]
}
]
}
8 changes: 8 additions & 0 deletions lsp-sasylf/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"editor.insertSpaces": false,
"typescript.tsc.autoDetect": "off",
"typescript.preferences.quoteStyle": "single",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
}
33 changes: 33 additions & 0 deletions lsp-sasylf/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "compile",
"group": "build",
"presentation": {
"panel": "dedicated",
"reveal": "never"
},
"problemMatcher": [
"$tsc"
]
},
{
"type": "npm",
"script": "watch",
"isBackground": true,
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"panel": "dedicated",
"reveal": "never"
},
"problemMatcher": [
"$tsc-watch"
]
}
]
}
Loading