PLC-lang / PLC-lang/rusty

Does rusty support namespaces?

Open
#989 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
362
Forks
75
Avg merge
6d 9h
Merged PRs (30d)
35

Description

I am trying to compile a PLC code which has Global namespaces

Could you please let me know if this is supported in RuSTy? Also could you give me small example of this if possible? For example if I have a file with globals (VAR_GLOBAL) how would I access it inside another structured text file with a namespace (GVL for example)

Thanks in advance!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no source file or test. Start by locating the handling of VAR_GLOBAL declarations and GVL-style namespace references, then determine whether the requested example already works. Done means documenting a working example or adding namespace support with a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.