Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

826 B
Raw Blame
<!doctype html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
        <style>
            html {
                background: black;
            }
        </style>
    </head>
    <body></body>
    <script type="module">
        import createHogQLParser from './dist/hogql_parser_wasm.js'

        createHogQLParser()
            .then((parser) => {
                console.log('WASM HogQL Parser loaded')

                const input = 'select * from users'
                const result = parser.parseSelect(input, false)
                console.log('Parse result:', JSON.parse(result))
            })
            .catch((e) => {
                console.log(e)
            })
    </script>
</html>