BNF grammar is in: examples/lang.bnf
Lex grammar is in: examples/lang.lex
To see what is all possible view examples/test.lang
Run
| import React, { Component } from 'react'; | |
| import ReactDOM from 'react-dom'; | |
| import debounce from 'throttle-debounce/debounce' | |
| import axios from 'axios'; | |
| import SubmitButton from './SubmitButton' | |
| export default class RegisterCompany extends Component { | |
| constructor(props) { |
BNF grammar is in: examples/lang.bnf
Lex grammar is in: examples/lang.lex
To see what is all possible view examples/test.lang
Run
| const keyValueObj = { "api_url": "https://hawaii.usa.gov", "message": "BALLISTIC MISSILE INBOUND.", "is_drill": true }; | |
| const keyValueArray = Object.entries(keyValueObj).map(([key, value]) => ({ key, value })); | |
| /** | |
| * keyValueArray: | |
| * [ | |
| * { key: "api_url", value: "https://hawaii.usa.gov" }, | |
| * { key: "message", value: "BALLISTIC MISSILE INBOUND." }, | |
| * { key: "is_drill", value: true }, | |
| * ], |