Skip to content

Support for INDENT and DEDENT #25

Description

@LaylBongers

Having optional support for INDENT/DEDENT tokens would make parsing languages that require whitespace to define blocks easier.

Example:

do_thing param1, param2
if thing
    do_even_more "Hello"
    another_call "World"
and_finally "!"

Here an INDENT token would be placed right before do_event_more, but not before another_call as they're in the same indentation level. A DEDENT would be placed right before and_finally.

More information on how this is handled by the python parser can be found here:
http://www.secnetix.de/olli/Python/block_indentation.hawk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions