Skip to content

Ints view#3

Open
JackLeeHal wants to merge 31 commits into
masterfrom
intsView
Open

Ints view#3
JackLeeHal wants to merge 31 commits into
masterfrom
intsView

Conversation

@JackLeeHal
Copy link
Copy Markdown
Owner

Fixes # .

Changes proposed in this pull request:

  • Generate Integration view
  • Use antlr to parse epfmt and appfmt

@JackLeeHal JackLeeHal force-pushed the intsView branch 2 times, most recently from 0353ccb to 5d4effd Compare June 12, 2019 09:12
Comment thread sysl2/sysl/integration/deps.go Outdated
Comment thread sysl2/sysl/integration/deps.go Outdated
Comment thread sysl2/sysl/integration/deps.go Outdated
Comment thread sysl2/sysl/integration/deps.go Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use stream instead of for loop?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import github.com/yale8848/stream to fix this.

Comment thread sysl2/sysl/integration/deps.go Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks quite similar with FindHighlights. May be refactored.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Comment thread sysl2/sysl/integration/viewGen.go Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a,b are not good name. Maybe s for string, i for item would be better. stringInSlice is weird, maybe 'find' or 'lookup'.

Comment thread sysl2/sysl/ints.go Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefer to 'o' instead of 'r' which means outputs.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought use 'r' as the shorthand for 'result'. It seems 'o' would be better than it, right?

Comment thread sysl2/sysl/utils/strSet.go Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why make a copy?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

useless logic. remove the copy.

Comment thread sysl2/sysl/utils/strSet.go Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if other is nil or empty, s can be returned if it is not nil or empty. think about these corner cases.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add logic to handle empty case when other is empty.

Comment thread sysl2/sysl/utils/strSet_test.go Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All miss boundary testing, nil and empty, and negative test cases.

* Fix issue anz-bank#232 and anz-bank#233

* Add default value for SYSL_PLANTUML
* Add kingpin package to handle command-line args
* Align command-line args with python
@JackLeeHal JackLeeHal force-pushed the intsView branch 4 times, most recently from fa000e8 to 8c987ec Compare June 17, 2019 09:14
@loki5265 loki5265 force-pushed the intsView branch 3 times, most recently from 59a0d80 to 0009d89 Compare June 20, 2019 03:31
@JackLeeHal JackLeeHal force-pushed the intsView branch 2 times, most recently from e720881 to 1a0a174 Compare June 21, 2019 02:29
…#238)

* New documentation on installing plantuml server for mac osx

* add gradle to travis
@JackLeeHal JackLeeHal force-pushed the intsView branch 3 times, most recently from 397ace6 to cdedf15 Compare June 27, 2019 02:16
@loki5265 loki5265 force-pushed the intsView branch 2 times, most recently from 107cfac to e274e93 Compare June 27, 2019 05:47
@JackLeeHal JackLeeHal force-pushed the intsView branch 2 times, most recently from 1e54397 to 2334a93 Compare June 28, 2019 09:09
@loki5265 loki5265 force-pushed the intsView branch 2 times, most recently from 463e2b6 to c26d3e0 Compare July 4, 2019 07:19
@JackLeeHal JackLeeHal force-pushed the intsView branch 2 times, most recently from 466a337 to 1fb105d Compare July 11, 2019 06:01
anzdaddy and others added 2 commits July 11, 2019 16:09
Enable all golangci-lint linters

Temporarily suppress unparam for two functions
anzdaddy added 2 commits July 18, 2019 10:42
* Pin .golangci.yaml to golangci-lint 1.17.1
* Remove golangci-lint from travis build (golangci.com now does it).
Also remove SYSL_PYTHON_BIN from CI build
@JackLeeHal JackLeeHal force-pushed the intsView branch 2 times, most recently from 4791fff to e91f094 Compare July 18, 2019 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants