在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):s-tikhomirov/solidity-latex-highlighting开源软件地址(OpenSource Url):https://github.com/s-tikhomirov/solidity-latex-highlighting开源编程语言(OpenSource Language):TeX 100.0%开源软件介绍(OpenSource Introduction):Solidity LaTeX HighlightingSolidity is a major programming language for Ethereum smart contracts. Solidity LaTeX highlighting helps researchers include readable code examples in their papers. Compared to some other previous attempts, this highlighter fully supports the Solidity syntax (if you think this is not the case, feel free to submit an issue or a pull request). UsageSource\documentclass{article}
\input{solidity-highlighting.tex} % copy the file from this repo
\begin{lstlisting}[language=Solidity]
pragma solidity 0.4.16;
contract TestContract {
string private myString = "foo";
function getString() constant returns (string) {
return myString;
}
function setString (string _string) {
myString = _string;
}
}
\end{lstlisting} Result |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论