Giter Club home page Giter Club logo

puppet's People

Contributors

adrienthebo avatar ferventcoder avatar ffrank avatar gguillotte avatar glennsarti avatar hail9000 avatar haus avatar hlindberg avatar iristyle avatar jhelwig avatar joshcooper avatar jpartlow avatar justinstoller avatar magisus avatar melissa avatar mikaelsmith avatar nfagerlund avatar nicklewis avatar pcarlisle avatar peterhuene avatar puppetlabs-jenkins avatar rick avatar scotje avatar sharpie avatar stahnma avatar stschulte avatar thallgren avatar vrthra avatar whopper avatar zaphod42 avatar

Watchers

 avatar  avatar

puppet's Issues

interpolation crazyness

Interpolation in lexer turns source into VARIABLE at start of interpolation expression at all times (if it is a valid variable name). This inhibits calling a function as the first thing in interpolation. It should do this differently.

Either a new token VAR_OR_NAME, or just a NAME, and let the evaluation handle the "it is a variable" evaluation.

Add setting for language compliance level

A language compliance level setting should control the set of issues to validate (the error_checks, etc. individual settings can be used to override the basic configuration for
the given language compliance level).

A level of "current" means the "released" (just like for the parser setting), and "future" means "all extra options".

verify rule for numeric parameter name

The validator now uses a check if the parameter name is all digits, not if it is numeric. This validation should check for being numeric the same way as scope detects if a variable is numeric and picks up a value from an ephemeral scope.

validate that expressions without side effect are not present

Validate things like:

  1
  1+ 2
  $a

Are validated if they are anywhere but last in a block. This is somewhat difficult when functions are called as part of an expression, and it is not known if they have side effects or not (one clue is if functions are rvalue producing or not).

add error/warning/ignore_checks settings

Add a setting for issues that should produce errors, warnings or be ignored.

Implement at settings using

  • error_checks
  • warning_checks
  • ignore_checks

Each taking a comma separated list of Issue names.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.