Anduin2017 / Anduin2017/HowToCook

关于二次开发

Open
#1,126 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
102k
Forks
11.1k
Avg merge
14h 21m
Merged PRs (30d)
2

Description

您的行为准则中写道:

我希望能够有商业公司、饭店、企业或科研机构能够引用这个仓库。因此它将始终坚持一个较弱的许可协议。它会作为一个基础设施,未来应用在更多更复杂的产品和场景中。
任何人都可以自由复制,修改,发布,使用,编译,出售或以菜谱的形式或菜的形式分发,无论是出于商业目的还是非商目的,以及任何手段。

但是,对菜谱的二次开发难度仍然较大,例如有些菜谱中对数量的计算不精确,有些菜谱下有一个可选食材部分,以及不好处理注意信息附加内容的展示(它们应该只是供人类阅读的)。

我希望,使用机器和部分人工力量,将菜谱转化为代码的形式(好在绝大多数菜谱非常规范,可以纯机器转化)。
这样的话,仍然可以通过编译生成菜谱,并且还有许多优点:做菜的复杂流程会变成执行代码中的一个个函数,对并行运算有较为良好的支持等,这样应该更适合二次开发:只需要在库中实现boil,cut等方法,就可以完成他们想要的步骤,例如,对于语音做菜助手,只需要在运行函数时播放音频,对于正常计算机,只需将步骤显示在屏幕上,对于机器人,只需要移动机械臂等……

这样的话,二次开发应该会更加方便。

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

Start by reviewing the proposed conversion of recipes into executable code and the concerns about quantities, optional ingredients, notes, and additional content. The issue names no files, tests, or implementation entry point, so the desired output and completion criteria would need to be defined before work can begin.

Written by the indexing model from the issue text.

Assessment

Domain
content
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.