Michael Bolin 5 жил өмнө
parent
commit
b5033530fb
1 өөрчлөгдсөн 9 нэмэгдсэн , 1 устгасан
  1. 9 1
      src/app.ts

+ 9 - 1
src/app.ts

@@ -51,7 +51,7 @@ abstract final class ClassDefWithLotsOfKeywords {
 </body>
 </body>
 </html>
 </html>
 `,
 `,
-  javascript: `
+  javascript: `\
 const React = require('react');
 const React = require('react');
 
 
 function create() {
 function create() {
@@ -61,6 +61,14 @@ function create() {
     </div>
     </div>
   );
   );
 }
 }
+`,
+  python: `\
+import foo
+
+async def bar(): string:
+  f = await foo()
+  f_string = f"Hooray {f}! format strings are not supported in current Monarch grammar"
+  return foo_string
 `,
 `,
 };
 };