Add classes
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```js
package test
pub class Person {
// private
Name string;
Age i32;
// public
pub ctor(name string, age i32) {
Name = name;
Age = age;
}
pub Get() string {
return Name + " " + Age;
}
}
```
```js
using "test"
package main
var p = test::Person("foo", 42);
print(p.Get());
```
something like that, TBD.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue proposes class, constructor, visibility, field, method, package, import, and object-instantiation syntax, but names no files, tests, or entry points. First identify the parser and interpreter entry points that handle declarations and calls, then define the intended syntax and behavior before implementation; done should include working examples like the ones shown.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100