1 Star 1 Fork 0

麦壳饼 / Gone

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Gone

Language: F# Language: C# Language: Go

Gone is the GO compiler for .NET.

Come watch it being built: https://twitch.tv/FrankKrueger

Goal

Build a compiler to parse the Go Lang:

package main

import "fmt"

func main() {
    fmt.Println("Hello, 世界")
}

Building

dotnet build

Modifying the Grammar

If you modify Parser.jay, then please rebuild the parser with:

make

Output

After running the tests a file Output.dll is created on your desktop.

  • ~/Desktop/Output.dll

Create a config file - Output.runtimeconfig.json:

{
  "runtimeOptions": {
    "tfm": "netcoreapp3.1",
    "framework": {
      "name": "Microsoft.NETCore.App",
      "version": "3.1.0"
    }
  }
}

Then run the following command to see the compilier working:

dotnet ~/Desktop/Output.dll
Hello, 世界

Show Notes

Contact

Mostly @praeclarum.

空文件

简介

Gone is the GO compiler for .NET. 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/maikebing/Gone.git
git@gitee.com:maikebing/Gone.git
maikebing
Gone
Gone
master

搜索帮助