Vincent Wei

Results 92 comments of Vincent Wei

Thanks you two. I will fix the typo manually.

Indeed, this is a bug. We will try to fix it in the next release.

It seems that `stdatomic.h` on this platform is bad implemented.

I think you need to upgrade your gcc. This is my gcc version info: Apple clang version 13.1.6 (clang-1316.0.21.2.5) Target: x86_64-apple-darwin21.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Sorry, for the Windows platform, we have not done any work...

I haven't used Windows for a long time. Are you using WSL or native gcc? Someone reported that we can build PurC on WSL.

OK. Thanks.

It sounds reasonable, but we use `observe` not only for the expired event of a timer but also other events from various event source. For example, the event from the...

抛开母语化编程的意义不谈,我们单谈如何定义。 我很早以前就琢磨过中文化关键词。从直观上讲,使用标记之后,的确可以将大部分关键词替换成母语。但同时也遇到了一些问题。比如用中文为例: ``` ``` 用中文可以如下书写: ``` li' 於 ‘attr.class’ 用 $文本信息 /> ``` 可以看到,中文很难区分 `at` 和 `on` 这两个介词。使用其他语言,相信也会有类似问题存在。 和母语化关键词可能带来的巨大争议不同,我们计划首先支持 Unihan 字符(CJK 中文字符)作为变量名。

@nobodxbodon 提到的更接近中文语法的设计,存在难以处理关闭标签(形如``)的问题: > ``` > li' 的 ‘attr.class’ 值更新为 $文本信息 /> > ``` 合理的设计还是应该使用动词作为标签名称: ``` li' 的 ‘attr.class’ 为 $文本信息 > ... ``` 再比如针对比较复杂的元素,可使用逗号,看起来更舒服: ``` ... ``` 这样设计的话,针对不同的语言,需要重写对应的解析器,不是简单替换关键词就能做到的。