frame_transpiler icon indicating copy to clipboard operation
frame_transpiler copied to clipboard

Frame is a markdown language for creating state machines (automata) in Python as well as generating UML documentation.

Results 104 frame_transpiler issues
Sort by recently updated
recently updated
newest added

``` foo(0.) foo(0) foo(1234590) foo(0.25) foo(0123456789.0123456789) time.sleep(0.25) time.sleep(.25) ```

bug
v0.12

Expected: For Calc not to be found and generate an error. ``` fn main { print(#Calc.add(1,1)) print(#Calc.sub(1,1)) } #BadSystem -operations- #[static] add [a,b] { ^(a+b) } #[static] sub [a,b] {...

bug
v0.12

Expected - call to t.a1() to be invalid. ``` fn main { var t:# = #T() t = nil t.a1() } #T -interface- a ## ```

bug
v0.12

``` `import sys` `import time` `import jsonpickle` fn main { var m:# = #TrafficLight() var data = m.marshal() m = None loop var x = 0; x < 10; x...

documentation
v0.11
test

``` fn main { print(#OperationsDemo.add(2,1)) var od:# = #OperationsDemo() print(od.sub(2,1)) } #OperationsDemo -operations- #[static] add [a,b] { ^(a+b) } sub [a,b] { ^(a-b) } ## ```

v0.11
test

Need to fix and create tests. ``` -actions- addit { ^(1+2) } -operations- #[static] add [a,b] { var x = a + b ^(1+2) } ```

bug
v0.11
test

``` #[derive(marshal)] #TrafficLight -actions- -operations- marshal : JSON { ^(jsonpickle.encode(self)) } // static method attribute #[static] unmarshal : #TrafficLight { ^(jsonpickle.decode(data)) } -domain- ## ```

enhancement
v0.12

``` fn main { var call_test:#CallTest = #CallTest() print(call_test.getSelf().getValue()) } #CallTest -interface- getSelf : #CallTest -machine- $S0 |getSelf| : #CallTest ^(#) -operations- getValue : int { ^(1) } ## ```

enhancement
v0.12

``` // This program is a Frame solution for this HackerRank problem: https://www.hackerrank.com/challenges/fizzbuzz/problem `import sys` `import math` fn main { #FizzBuzz(>(1)) } #FizzBuzz [>[i:int]] -machine- $Fizz |>| [i:int] i >...

v0.11
test