Is there a plan for windows version?
我也想要,看了语法就是我想要的那种语言,居然把我的梦想实现了,我好气
求提供windows版本,想写点三方库,为这个语言添砖加瓦
Eventually it is planned to support windows, but it is a low priority and is blocked on the linker and will support the windows platform as soon as the linker issue is resolved.
@hgsbart i made a dockerfile if you want build on windows, is a basic dockerfile so feel free to modify https://github.com/juackomdz/naturelang-dockerfile
@weiwenhao 这个n-lang真是太棒了,但目前无法支持Windows的“blocked on the linker”具体是什么呢?
真的挺需要 Windows 平台的
mark,notice me when released
@weiwenhao 这个n-lang真是太棒了,但目前无法支持Windows的“blocked on the linker”具体是什么呢?
支持 windows 的阻碍在链接器上。
nature 的交叉链接器实现的非常粗糙,难以支持 windows pe 格式,如果需要实现一个完整的交叉链接器需要投入大量的工作,重新实现的话,可以将 llvm 的 lld 移植过来,但 llvm 项目的 lld 并不是独立的项目,依赖较多并且使用 c++ 实现,所以移植需要一定的工作量。zig ld 将 lld 移植成了 zig 实现。
鉴于 zig 对 c 的兼容性,将 nature 编译器转换为 zig 项目,并直接调用 zig ld 源码进行编译时一个可行的方案,但是前提是 zig ld 是独立项目。
@weiwenhao 加油 兄弟
@weiwenhao 假如有人愿意资助你做这个项目的话,您估计这个语言能自举,并且支持多个平台,需要多少人力和资金投入
@weiwenhao 假如有人愿意资助你做这个项目的话,您估计这个语言能自举,并且支持多个平台,需要多少人力和资金投入
大概是我一年的工作量。