Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated README #51

Merged
merged 5 commits into from
Apr 7, 2023

Conversation

engineerjoe440
Copy link
Collaborator

@engineerjoe440 engineerjoe440 commented Mar 28, 2023

Changes

Largely targeted at adding some additional documentation in relation to several of the outstanding issues.

Issues Addressed

I should add that I'm totally just throwing this out at you, so feel free to push back on anything... phrasing, terminology, anything!

Copy link
Owner

@klauer klauer left a comment

Choose a reason for hiding this comment

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

This is looking good - thanks @engineerjoe440!
A few small changes and we can merge it.

README.md Outdated

1. Preferably using non-system Python, set up an environment using, e.g., miniconda:
```bash
$ conda create -n blark-env python=3.7
Copy link
Owner

Choose a reason for hiding this comment

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

Looks like I added blark to conda-forge since I last updated the README (ages ago...).

This step on conda can now be done in a single go:

Suggested change
$ conda create -n blark-env python=3.7
$ conda create -n blark-env -c conda-forge python=3.7 blark

Which means that the pip install is only necessary for virtualenv / system python / non-conda environments.

I'd say let's break this up into two sections:

  1. Here's how to install blark with conda (using the line above)
  2. Here's how to install blark in a virtualenv (using standard library venv: guide)

README.md Outdated Show resolved Hide resolved
```

For some additional reference regarding this syntax, refer to
[the comment here on issue #20](https://github.com/klauer/blark/issues/20#issuecomment-1099699641)
Copy link
Owner

Choose a reason for hiding this comment

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

I did write a nice little comment there 😁

Maybe that comment should be reformatted as part of the docs or the wiki. I'll make an issue to put some sphinx docs in the repo. (I usually do it by default with my other projects so I'm a bit surprised to not even find a docs/ directory here...)

README.md Show resolved Hide resolved
> RuSTy is a structured text (ST) compiler written in Rust. RuSTy utilizes the LLVM framework to compile eventually to native code.
- [IEC Checker](https://github.com/jubnzv/iec-checker) - Static analysis tool
for IEC 61131-3 logic. As described by the maintainer:
> iec-checker has the ability to parse ST source code and dump AST and CFG to JSON format, so you can process it with your language of choice.
Copy link
Owner

Choose a reason for hiding this comment

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

Let's also add in TcBlack:
https://github.com/Roald87/TcBlack Python black-like code formatter for TwinCAT code

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Great! That's a good one... added!

engineerjoe440 and others added 4 commits April 5, 2023 14:28
Co-authored-by: Ken Lauer <klauer@users.noreply.github.com>
Co-authored-by: Ken Lauer <klauer@users.noreply.github.com>
Co-authored-by: Ken Lauer <klauer@users.noreply.github.com>
@engineerjoe440
Copy link
Collaborator Author

Thanks again, @klauer! Forgive my delay in getting back to updating things here. Got caught up with some stuff at work, and this fell off my radar. 😦 But I'm glad to add the points you've made! Let me know if there's anything else I should address. 😄

@codecov-commenter
Copy link

Codecov Report

Merging #51 (0ac1bf0) into master (505e68e) will increase coverage by 0.2%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           master     #51     +/-   ##
========================================
+ Coverage    71.8%   72.0%   +0.2%     
========================================
  Files          18      18             
  Lines        3772    3772             
========================================
+ Hits         2710    2719      +9     
+ Misses       1062    1053      -9     

see 1 file with indirect coverage changes

Copy link
Owner

@klauer klauer left a comment

Choose a reason for hiding this comment

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

Looks good!

The quickstart section still needs a bit of work (#51 (comment) - there's a bit more in this comment about the conda/venv stuff - but let's get this change in and leave that for another PR.

@klauer klauer merged commit f423b1b into klauer:master Apr 7, 2023
@engineerjoe440 engineerjoe440 deleted the start-updates-to-documentation branch April 14, 2023 00:19
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.

Add documentation for how to submit new tests cases Make note of related/alternative/useful projects
3 participants