zhblue / freeproblemset

freeproblemset is a standard for acm-icpc contest problem storage in xml
GNU Lesser General Public License v3.0
195 stars 58 forks source link

建议的语言描述 language 属性 #20

Open zhblue opened 4 years ago

zhblue commented 4 years ago
C
C++
Pascal
Java
Python
C#
Obj-C
Clang
Clang++
JavaScript
Go
Matlab(Octave)
undefined-moe commented 4 years ago

个人建议直接使用文件扩展名,编译器的区别使用 cpp/clang py/pypy2 此类方式区分;

zhblue commented 4 years ago

可以,等有空我修改一下hustoj的实现,让新旧两种都能兼容。

zhblue commented 4 years ago

$language_ext=Array( "c", "cc", "pas", "java", "rb", "sh", "py", "php","pl", "cs","m","bas","scm","c","cc","lua","js","go","sql","f95","m" );

zhblue commented 4 years ago

发现 Objective-C和Mathlab都是.m结尾,且不兼容,这个容易混淆,还是先保留

$language_name=Array("C","C++","Pascal","Java","Ruby","Bash","Python","PHP","Perl","C#","Obj-C","FreeBasic","Scheme","Clang","Clang++","Lua","JavaScript","Go","SQL(sqlite3)","Fortran","Matlab(Octave)","Other Language");

这个列表

zhblue commented 4 years ago

让OJ自行判断应该用什么文件扩展名

undefined-moe commented 4 years ago

objc可以使用mm

undefined-moe commented 4 years ago

个人来说不赞成使用过多特殊字符

zhblue commented 4 years ago

可以去把那些括号里的去掉,反正也没有人用这些语言答题

undefined-moe commented 4 years ago

照顾用户需求吧( 还有rs hs asm ts bf啥的

undefined-moe commented 4 years ago

javascript是用nodejs还是jsc也应该区分一下(?

zhblue commented 4 years ago

先不写死,等真的有人跳脚再说,不为不存在的用户做开发。

undefined-moe commented 4 years ago

也行,能否留个联系方式(issues通讯延迟太高了

zhblue commented 4 years ago

10982766@qq.com