建议的语言描述 language 属性
zhblue opened this issue · 13 comments
zhblue commented
C
C++
Pascal
Java
Python
C#
Obj-C
Clang
Clang++
JavaScript
Go
Matlab(Octave)
undefined-moe commented
个人建议直接使用文件扩展名,编译器的区别使用 cpp/clang py/pypy2 此类方式区分;
zhblue commented
可以,等有空我修改一下hustoj的实现,让新旧两种都能兼容。
zhblue commented
$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
发现 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
让OJ自行判断应该用什么文件扩展名
undefined-moe commented
objc可以使用mm
undefined-moe commented
个人来说不赞成使用过多特殊字符
zhblue commented
可以去把那些括号里的去掉,反正也没有人用这些语言答题
undefined-moe commented
照顾用户需求吧(
还有rs hs asm ts bf啥的
undefined-moe commented
javascript是用nodejs还是jsc也应该区分一下(?
zhblue commented
先不写死,等真的有人跳脚再说,不为不存在的用户做开发。
undefined-moe commented
也行,能否留个联系方式(issues通讯延迟太高了
zhblue commented