Giter Club home page Giter Club logo

gramada's People

Contributors

codezeilen avatar fniephaus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gramada's Issues

Grammar debugger should indicate repetitions in greater detail

Currently the grammar debugger does not yet indicate:

  • Many rules and their subsequent matches
  • Left-recursions: They are displayed exactly as the left-recursion works which might be confusing. However this might be best solved by indicating that this is left-recursion matching

Problems installing in new v5.3 Linux

Doing the Metacello baseline specified in the README, my image freezes (and CPU runs crazy) on the following:

Loading BaselineOfGramada
Loading Icons
Installing Icons-mt.9

Screenshot from 2020-03-05 21-11-19

Move code for debugging capabilities in Ohm to Gramada

The following method should be maintained by Gramada as Ohm does not require it:

OhmGrammar>>#skipSpaces: state

	| result originalPosition anInput originalFailures |
	anInput := state inputStream.
	originalPosition := anInput getState.
	state isSyntactic: false.
	originalFailures := state rightmostFailure.
	state rightmostFailure: OhmFailureDescriptor new.

	[ originalPosition := anInput getState.
	  state pushBindings: OrderedCollection new.
	  #ohmDebugging withoutLayerDo: [
	  result := (self ruleNamed: #space)
				eval: state].
	  state popBindings.
	 ] doWhileTrue: [result].

	state rightmostFailure: originalFailures.
	state isSyntactic: true.
	anInput setState: originalPosition.

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.