Lukeuke / Lukeuke/Yail

Add classes

Open
#17 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.