-
Notifications
You must be signed in to change notification settings - Fork 18
Updated documentation for upcoming VSCode extension release #288
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
Merged
Merged
Changes from 20 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
b45b77b
Updated VSCode extention docs
vinzbarbuto 8106587
Update documentation to reflect latest changes
vinzbarbuto 1be6372
Remove unnecessary ‘shell’ usage
vinzbarbuto b3c04e0
Update docs/tools/code-extension.mdx
vinzbarbuto d212ef3
Update docs/tools/code-extension.mdx
vinzbarbuto e057239
Update docs/tools/code-extension.mdx
vinzbarbuto ff2b7c8
Update docs/tools/code-extension.mdx
vinzbarbuto 7426658
Update documentation; PNGs instead of SVGs
vinzbarbuto 203e8b3
Update documentation; PNGs instead of SVGs
vinzbarbuto cda2817
Merge branch 'main' into main
vinzbarbuto 3c69580
Added 'Create New Project' section; uniformed the use of 'package' in…
vinzbarbuto 664bef0
Added 'Create New Project' section; uniformed the use of 'package' in…
vinzbarbuto 7036389
Improved documentation
vinzbarbuto f6f1662
Improved paths in the documentation
vinzbarbuto 5b63b67
Apply suggestions from code review
vinzbarbuto ed2eb08
Improved documentation; Added Glossary page
vinzbarbuto 6fa21f1
Apply suggestions from code review
vinzbarbuto 942770b
Update docs/tools/code-extension.mdx
vinzbarbuto 0b89329
Improved documentation; Moved Project Structure to Glossary page
vinzbarbuto f42f9fc
Improved documentation
vinzbarbuto e544f53
Update docs/glossary/glossary.mdx
vinzbarbuto d4ccc94
Update code-extension.mdx
lhstrh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
--- | ||
title: Glossary | ||
description: Glossary of terms used in the Lingua Franca documentation. | ||
--- | ||
|
||
# Glossary | ||
|
||
Glossary of terms used in the Lingua Franca (LF) documentation. | ||
|
||
### LF File | ||
A source file with the `.lf` extension, representing a Lingua Franca (LF) program. | ||
|
||
### Library File | ||
An LF file containing one or more reactors intended for reuse, designed to be imported into other LF files. | ||
|
||
### Package | ||
A collection of LF source files and directories, along with a `Lingo.toml` manifest file that defines the package configuration. Every package must include an `src/` directory containing the LF source files. | ||
|
||
### Package Manager | ||
A software tool that automates the installation, configuration, and management of packages. In the LF ecosystem, the `lingo` package manager is used to manage LF packages and dependencies. | ||
|
||
### Package Root | ||
The **package root** is the top-level directory of a package where both the `Lingo.toml` file and the `src/` directory reside. | ||
|
||
### Project | ||
Another term for a [package](#package) that is under development. Each [LF file](#lf-file) is assumed to reside in a package, meaning it is located somewhere in the file system in a directory called `src`, in some directory that serves as the (package root)[#package-root]. | ||
|
||
### Project Structure | ||
The structure of an LF project should follow the directory layout below: | ||
|
||
``` | ||
├── . | ||
│ ├── bin/ # Directory for storing binary executables | ||
│ ├── build/ # Directory containing packages installed by the Lingo Package Manager | ||
│ │ ├── lfc_include/ # Directory for storing reusable reactors | ||
│ │ └── <Installed Package>/ # Directory containing the installed package | ||
│ ├── include/ # Directory for storing header files | ||
│ ├── src/ # Directory containing LF source files | ||
│ │ ├── lib/ # Directory for storing reusable reactors | ||
│ │ │ ├── Input.lf # Ex: reactor capturing external inputs (e.g., Microphone, Camera) | ||
│ │ │ └── ComputerVision.lf # Ex: reactor performing computer vision tasks (e.g., object detection, face recognition) | ||
│ │ └── Main.lf # Ex: main source file | ||
│ ├── src-gen/ # Directory for storing generated code (or fed-gen if a federated program) | ||
vinzbarbuto marked this conversation as resolved.
Show resolved
Hide resolved
|
||
└── └── Lingo.toml # Configuration file for Lingo Package Manager | ||
``` | ||
|
||
- **Mandatory Directories and Files:** | ||
- `src/`: This folder must contain at least one `.lf` source file. | ||
- `Lingo.toml`: This is the required configuration file. | ||
|
||
- **Automatically Generated Directories:** | ||
- `bin/`: Created during the build process to store binary executables. | ||
- `build/`: Generated automatically when installing packages managed by the Lingo Package Manager. | ||
- `include/`: Autogenerated to store header files. | ||
- `src-gen/` (or `fed-gen` for federated programs): Autogenerated to store generated code. | ||
|
||
- **User-Created Directory:** | ||
- `src/lib/`: This folder is for library files and should be created by the user as necessary. | ||
|
||
This directory structure is essential for enabling the Package Explorer feature in the [VS Code Extension](tools/code-extension.mdx#package-explorer), streamlining project management and development processes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.