Skip to main content

Questions tagged [grammar]

Questions related to spelling and use cases of terms.

Filter by
Sorted by
Tagged with
0 votes
1 answer
54 views

What's mean from expression InterfaceName(0xABCD.....) , oxABCD is an contract address?

Here is an example i see in cource code off bunny finance https://github.com/PancakeBunny-finance/Bunny/blob/main/contracts/vaults/venus/VaultVenusBridgeOwner.sol#L52
Huy Nguyễn's user avatar
0 votes
1 answer
31 views

What does ':' mean in solidity?

function bid(bytes32 blindBid) public payable validPhase(Phase.Bidding) { bids[msg.sender] = Bid({ blindedBid: blindBid, deposit: msg.value }); } I ...
Shift_that's user avatar
2 votes
1 answer
222 views

grammar: is "ether" countable?

Which of the following sentences is correct: Doing X using ether Doing X using ethers Thank you.
Miao ZhiCheng's user avatar
6 votes
1 answer
259 views

Solidity Documentation vs Grammar, which one is the most correct?

I was using the solidity grammar specification https://github.com/ethereum/solidity/blob/develop/docs/grammar.txt to write a parser in Smalltalk. After coding a first version of the parser, I started ...
Henrique Rocha's user avatar
2 votes
2 answers
233 views

EVM grammar in ANTLR or something similar?

Where can I find a machine readable grammar for EVM? (and for Solidity) Also, apart from Solidity, what other high-level languages currently exist that compile to EVM opcodes? The reason I am asking ...
Jus12's user avatar
  • 356
11 votes
5 answers
2k views

BNF grammar definition for Solidity

I scoured the Mix and Solidity repos for something like a formal definition of the language's grammar, so that one may generate parsers using tools like GrammarKit, but couldn't find anything. Any ...
mxk's user avatar
  • 243